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

When searching for Dubai in the website, it's returning a list with the city of Dubai at the top, so I guess the importance of the city in the United Arab Emirates, is the highest.

When doing a search request to the Nominatim OSM search API, I'm getting Uganda as the country with the highest priority, which is not right.

These are the results of the API call for https://nominatim.openstreetmap.org/search?q=Dubai&format=json

[ { "place_id": "226938824", "licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright", "osm_type": "node", "osm_id": "5404871640", "boundingbox": [ "2.9270179", "2.9670179", "30.941206", "30.981206" ], "lat": "2.9470179", "lon": "30.961206", "display_name": "Dubai, Arua, Northern Region, Uganda", "class": "place", "type": "village", "importance": 0.17875, "icon": "https://nominatim.openstreetmap.org/images/mapicons/poi_place_village.p.20.png" }, { "place_id": "16284768", "licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright", "osm_type": "node", "osm_id": "1404229008", "boundingbox": [ "2.78168", "2.82168", "44.06159", "44.10159" ], "lat": "2.80168", "lon": "44.08159", "display_name": "Dubai, Buurhakaba بورحكب, Buur Hakaba بورحكب, Bay باي, Soomaaliya الصومال", "class": "place", "type": "suburb", "importance": 0.1725, "icon": "https://nominatim.openstreetmap.org/images/mapicons/poi_place_village.p.20.png" }, [...] ]

And this is the wesbite results for Dubai as search parameter.

screen shot 2018-02-13 at 11 45 09

There is something clearly wrong with my request or the server because Dubai in UAE should have the highest priority always, unless you are searching from Uganda.

asked 13 Feb '18, 10:09

octohedron's gravatar image

octohedron
11113
accept rate: 0%

edited 16 Feb '18, 23:18

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Please do not waste everybodies time by asking the same question in multiple places at the same time.

(13 Feb '18, 10:34) SimonPoole ♦
2

@SimonPoole: please add a link for people finding this question here.

(16 Feb '18, 23:18) aseerel4c26 ♦

The question has been closed for the following reason "Duplicate Question (asked on Github too)" by SimonPoole 13 Feb '18, 10:35

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:

×689
×290

question asked: 13 Feb '18, 10:09

question was seen: 1,829 times

last updated: 19 Feb '18, 01:02

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