TransWikia.com

How to extract bounding boxes of cities from OSM?

Geographic Information Systems Asked by Fabian Zeindl on June 24, 2021

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?

One 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.

Answered by neogeomat on June 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP