[GIS] How to extract bounding boxes of cities from OSM

dataextentsopenstreetmap

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?

Best Answer

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.

Related Question