This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Partial name matching

0

When I try to search via XML for phrase "sienkiewicza, lodz":

http://nominatim.openstreetmap.org/search/sienkiewicza%2C+lodz?format=xml

I get 3 results, none of which is the street Henryka Sienkiewicza in Łódź, which I would expect. Instead, I get 3 other streets named "Henryka Sienkiewicza" in 3 other cities (Brzeziny, Bełchatów and Konstantynów Łódzki), only because there are bus stops named simply "Sienkiewicza".

Are there any search parameters which would allow matching parts of names?

Nota bene: when I get "More results", the street Henryka Sienkiewicza in Łodź appears, so "More results" is seemingly capable of partial matching. How to enable this functionality in first (i.e. not "More results") search?

asked 08 Jun '16, 16:25

grzegorzborowiak's gravatar image

grzegorzboro...
26223
accept rate: 0%

Thank you for your answers. I will try to use them, photon seems promising. Is there a more detailed API description (i.e. documentation) for photon?

(27 Jun '16, 14:07) grzegorzboro...

One Answer:

1

answered 08 Jun '16, 16:31

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

1
(08 Jun '16, 17:34) stephan75

Source code available on GitHub .