Discussion:
Foreign characters
(too old to reply)
C Myhill
15 years ago
Permalink
Hi,

I am using the FindServiceSoap.Find method to find a location using the
Fuzzy search and a thresholdScore of 0, below is the search object used;

FindSpecification findSpec = new FindSpecification();
findSpec.Options = new FindOptions();
findSpec.Options.Range = new FindRange();
findSpec.Options.Range.Count = 50;
findSpec.DataSourceName = "MapPoint.World";
findSpec.InputPlace = "";
findSpec.Options.ThresholdScore = 0;

I am trying to find Pfäffikon, Switzerland. When I enter Pfaffikon without
the foreign character the service returns no locations however if I type in
Pfäffikon including the foreign character the location is returned.

Problem is that my users have UK keybords without the ä character, how do I
get around this?

Thanks
Derek Chan
15 years ago
Permalink
I wouldn't recommend using the FindServiceSoap.Find method, as it only
geocodes to the town level at best. If you pass it off to the Bing
(predecesor to MWS) map.Find method, it'll be able to provide a
disambiguation box for Pfaffikon correctly. You can even use a Bing map
hidden in the background just for its geocoding capabilities.

More information about Bing maps here:
http://www.microsoft.com/maps/isdk/ajax/

Hope that helps,
--
Windows Live Platform MVP
...
Loading...