Why not ask your question on the new 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

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 ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 23 Oct '12, 14:49

question was seen: 13,934 times

last updated: 23 Oct '12, 15:12

powered by OSQA