[Geocoding] Concatenated abbreviations and Nominatims tokenstringreplacements.inc
Anders Gunnarsson
anders.gunnarsson at appello.com
Wed Feb 26 14:21:56 UTC 2014
Hi,
There seems to be a problem with concatenated abbreviations in tokenstringreplacements.inc. There is a space before the abbreviated version, as seen in this example
str_replace(buffer, &len, &changes, "gatan ", 6, " g ", 3, 0);
The result is that if I try to find the street "Kungsgatan" using the correct abbreviation "Kungsg", I don't find anything. However using the incorrect "Kungs g", I find "Kungsgatan". Is there a reason for the leading space in some case or is it just a mistake?
The file seems to be outdated compared to http://wiki.openstreetmap.org/wiki/Name_finder:Abbreviations Is there a tool for generation from the wiki?
Best regards,
--
Anders Gunnarsson
More information about the Geocoding
mailing list