For simple geocoding purposes I want to extract all cities from a single country of openstreetmap.

They only queries I want to do are:

  • ZipCode -> (List of) BoundingBox of City/Village
  • City/Villagename -> (List of) Boundingbox of City/Village

I'm not interested in streetnames, rivers etc. Is this possible using osmfilter. Can anyone point me towards the tags of the data i'm looking for?


1 Answer 1


You must be looking for the place tag http://wiki.openstreetmap.org/wiki/Place and boundary http://wiki.openstreetmap.org/wiki/Key:boundary.

You can use nominatim service http://wiki.openstreetmap.org/wiki/Nominatim for geocoding as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.