4 ms·
Första Långgatan 10, Göteborg is mainly a utf8 encoding problem. (I'm working on it, it's challenge especially with Russian, Hebrew or Armenian). Should work wi
by eruci 10y ago
Första Långgatan 10, Göteborg is mainly a utf8 encoding problem. (I'm working on it, it's challenge especially with Russian, Hebrew or Armenian). Should work with ascii values too: eg, http://geocode.xyz/Forsta%20Langgatan%2010,%20Goteborg http://geocode.xyz/Forsta%20Langgatan%2010,%20Goteborg )
As to the typo, I have not implemented fuzzy search yet.
- dalke 10y agoMy apologies, I see the ambiguity now in what I wrote. Regarding the typo, I expected to get a "not found" answer, as "not found" is a better answer than being pointed to somewhere meaningless. I did not expect typo correction, though that would certainly be nice for some cases. I see now that the search gives the same location as "Göteborg", so may be the default locations of the city. If so, that's odd because it's not near the center of the city. Nor is it the default address for "Göteborg", as "dalkegatan, Göteborg" goes to some place near Göteborgsvägen on the east side of town. For that matter, "dalkegatan Göteborg" (without the comma) goes to some place on the west side of town. Given these variations, it's hard for me to trust when an answer is correct, other than by double-checking the results manually.
- eruci 10y agoIn this case it is a city match: http://geocode.xyz/Aveyn,%20G%C3%B6teborg?geoit=xml http://geocode.xyz/Aveyn,%20G%C3%B6teborg?geoit=xml <geodata> <latt>57.67100</latt> <longt>11.97980</longt> <standard> <addresst/> <prov>SE</prov> <city>GöTeborg</city> <postal/> <confidence>0.70</confidence> </standard> </geodata> The geoparser also looks for city names, and by checking the response you can see that only the city name was matched. Having said that, it is also true that we have less data coverage for Sweden (compared to some other countries that provide open address data). Our responses will be about as good as the data we have, and openstreetmap does not have 100% coverage in Sweden either.