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

Many US city names are not unique. For example there are 28 cities named "Dover", each in a different state, such as Dover, New Jersey, US; Dover, Delaware, US; and Dover, Minnesota, US. Typing "Dover" in SEARCH, the option list pops up with 1 "Dover, UK" and 28 "Dover, US" possibilities. Is there State information in GeoNames so that a SEARCH would show the City AND State within US ? How much of an effort would that entail to bring over ?

asked 23 Oct '12, 14:49

Heretik's gravatar image

Heretik
1111
accept rate: 0%


If you try searching for Dover in Geonames for all countries it returns these results, so GeoNames contains the data, but their webservice as used by the OSM search box doesn't return as much data, and doesn't include the US state. I've had a quick look at their other API documentation and can only see state mentioned under the country subdivisions when reverse geocoding.

In summary I don't think it is currently possible using the existing GeoNames search webservice.

permanent link

answered 23 Oct '12, 15:12

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

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:

×107
×54
×23
×15
×14

question asked: 23 Oct '12, 14:49

question was seen: 14,787 times

last updated: 23 Oct '12, 15:12

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