TransWikia.com

Get all city information (roads, buildings, ..etc) in OpenStreetMap via Overpass API

Geographic Information Systems Asked by MohameD ELQUCHIRI on September 27, 2021

I want to draw a city (Avignon, France) with JavaFX and OpenStreetMap (via Overpass API).
What is the QL request that I have to send to Overpass API to get this information?

2 Answers

Overpass API is not really the right tool for querying large data like all buildings and roads. It is rather suited for making specialized queries like all postboxes in an area.

For rather large and complete extracts of OpenStreetMap (like in your case), I recommend to download from Geofabrik or OSMaxx.

Answered by Jakob Miksch on September 27, 2021

You can do a one time download via https://www.openstreetmap.org/export#map=14/43.9402/4.8096 -> then click on the "Overpass API" link. This area is small enough to be downloaded via Overpass API, the resulting XML will be around 100MB.

Answered by mmd on September 27, 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