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

Nominatim returns only if query exactly matched data

2

Hi to all, In nominatim, we need to give exact query(string) which are stored in DB. For example We can get data when search as "guduvancheri", but cant get data when searching as "guduvanchery" or searching as "guduvancher". How to fix these type of issues?

asked 19 Nov '15, 14:20

Rajavelu_M's gravatar image

Rajavelu_M
253454858
accept rate: 33%

edited 19 Nov '15, 14:20


One Answer:

3

Nominatim does not support similarity searches. You might want to look at Photon (https://github.com/komoot/photon) which feeds off the Nominatim index and claims to have "typo tolerance":

answered 19 Nov '15, 15:00

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 19 Nov '15, 15:31

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

2

... or see https://wiki.openstreetmap.org/wiki/Search_engines where you have at least "Pelias" as another solution.

(19 Nov '15, 16:40) stephan75

Source code available on GitHub .