Dear community, Could you please explain how it would be possible to extract and download the orange boundary as a shapefile from the following site? https://www.openstreetmap.org/relation/271888#map=12/48.7809/9.2247 Thank you! asked 27 Jun '19, 13:53 Neico |
OSM does not offer conversion of data into other formats, in only offers the data in OSM's own data format. The "Overpass turbo" link you have been given in the other answer (http://overpass-turbo.eu/s/KiN) loads the OSM data but because it is not in the viewport, you don't immediately see it - there's a magnifying glass icon on the map that you can click to zoom to the area where the data is. Then go to "Export" and "Export as GeoJSON" and then use ogr2ogr, QGIS or other GIS software to convert GeoJSON to shape. Another way to get what you want is to download relation 271888 in the JOSM editor (check "download relation members" box), then save as GeoJSON, then use ogr2ogr, QGIS or other GIS software to convert GeoJSON to shape. answered 27 Jun '19, 14:32 Frederik Ramm ♦ |
Easiest way I can think of is to download that relation in JOSM, CTRL+SHIFT+O ( download object) insert your id and choose relation. After that you can save it as a geojson and from there you can convert it to shp with Qgis or anything else answered 28 Jun '19, 14:47 Vincze |
You could use this website: https://wambachers-osm.website/boundaries/ Unfortunately this only works for administrative boundaries. You could use a website like https://mygeodata.cloud/converter/osm-to-shp (I just found this after a search), for data that you downloaded via Overpass (as raw OSM data). I hope this is the query you need in Overpass: http://overpass-turbo.eu/s/KiN answered 27 Jun '19, 13:56 escada Thank you. But how can I specify for the exact file? I understand it has the ID 271888. When I use the tree on the left I cannot seem to find it.
(27 Jun '19, 14:03)
Neico
oops, you are not looking for an administrative boundary, but a boundary of another type. that is not possible with this tool.
(27 Jun '19, 14:09)
escada
exactly. So I would like to know how the orange boundary from the link above can be extracted. I suppose this should be somehow possible?
(27 Jun '19, 14:12)
Neico
But where exactly can I download the orange boundaries as an OSM file? (sorry I'm new to this whole field)
(27 Jun '19, 14:24)
Neico
Thank you for the link. But It only pulls up London and when running your code nothing happens. Or am I supposed to do something different?
(27 Jun '19, 14:30)
Neico
|