NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

2
1

Hi,

i found these 4 query services

My questions are:

  • What are the differences between them ? All of them are based on OSM planet data!
  • How do they exactly sort their search results ?

Thank you!

asked 23 Jan '20, 13:38

Omar%20Oghli's gravatar image

Omar Oghli
46115
accept rate: 0%


osmnames uses a a full-text search engine. It's good at partial queries like typing in "Pari" and getting "Paris" as result. The database build needs to pre-prepare all addresses (e.g. valid street and city combinations) and often that means the database only contains one or few languages.

nominatim uses a structured data schema. It's better at determining the relationship between places (e.g. which street belongs to which city) and can match many/all languages. But is more strict in matching the user's query to data.

Both are valid approaches to search for places (https://wiki.openstreetmap.org/wiki/Search_engines), the best engine is probably one that combines both.

permanent link

answered 23 Jan '20, 18:57

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

The last 2 use Nominatim behind the scenes.

More information about Nominatim can be found on the wiki and FAQ (also on the wiki) and the Github repository. Nominatim.openstreetmap.org uses OSM Planet data and some external data sources (Tiger address data).

I don't know about osmnames.org

permanent link
This answer is marked "community wiki".

answered 23 Jan '20, 15:02

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Great!

Do you know why the results of nominatim.openstreetmap.org and openstreetmap.org are differently sorted ?

You can try with the query "della vostra" to reproduce the issue.

(23 Jan '20, 15:17) Omar Oghli

openstreetmap.org takes the current map position into consideration. For example if the map shows France it can then assume what you look for is nearby and sort those results higher. On nominatim.openstreetmap.org that is switched off by default, you can click the 'apply viewbox' to enable it.

(23 Jan '20, 18:42) mtmail

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×689
×193

question asked: 23 Jan '20, 13:38

question was seen: 2,784 times

last updated: 23 Jan '20, 18:57

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum