[GIS] Nominatim limit and importance

geocodingnominatimopenstreetmap

If I limit the results by nominatim will they be ordered by importance? So if I set ?limit=1 will I get the match with the highest importance?

If not, how can I enforce this?

Best Answer

Yes, the results are always sorted by importance according to the code. Consequently limiting the search to one result will return the address with the highest importance.

Related Question