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?


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.

  • Wow, that source code is overwhelming. Frightening even. But thank you for the answer! – k-nut Nov 20 '14 at 15:08
  • Feel free to submit patches for improving it :) – scai Nov 20 '14 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.