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

When asking Nominatim for a County – in some cases you must have the word “County” while in others you must NOT have it (in order to get polygons)

For example in Nevada Counties

  1. “Washoe County” works
  2. “Washoe” – doesn’t work
  3. “Churchill county” doesn’t work
  4. “Churchill” works


Is it a known issue? Are there recommendations about how to request the data in a consistent way? Is there an open source code (preferably c#) that wrap these kind of calls and do the work-arounds?

=== Addition: ===

Is it possible that when searching for a name (w/o the "county" suffix or other pre/suffix) the results will include the the items with the suffix, and preferably ordered by higher to lower level (meaning New York will give New York state before New York city)

and from the other direction: If you have suffix - after results including the suffix - add results for same name w/o the suffix - for known words suce as State, Provice, County and so on

asked 14 May '13, 07:49

Dekel%20Israeli's gravatar image

Dekel Israeli
accept rate: 0%

edited 16 May '13, 14:33

aseerel4c26's gravatar image

aseerel4c26 ♦

I'm not sure it is an issue as such. Nominatim is finding the place names that are mapped: Churchill and Washoe County. A workaround would have to handle knowing what admin levels mean and either removing or adding the extra word(s) (at the beginning or end as appropriate, in whatever language is determined relevant). Even admin_level 6 in USA alone isn't simple, being "Counties, parishes in Louisiana, boroughs in Alaska and also in New York City and the Independent cities (Virginia; Baltimore, MD; Carson City, NV; St. Louis, MO)".

The good news is that nominatim is already open source (but not C#) so if you can come up with a way that works I'm sure it would be welcomed.

permanent link

answered 14 May '13, 13:39

EdLoach's gravatar image

EdLoach ♦
accept rate: 22%

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]( "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: 14 May '13, 07:49

question was seen: 9,254 times

last updated: 16 May '13, 14:33

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