This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Downloading specific shapefiles

0

I was wondering if there was a way to download shapefile data for specific feature types. For example selecting all amenity = restaurant within a certain area and downloading the data as a shapefile. Thanks.

asked 01 May '17, 12:59

mikaelamoschella's gravatar image

mikaelamosch...
11113
accept rate: 0%


One Answer:

4

I don't know of anything that will directly export a filtered shapefile. Overpass Turbo has a wizard to help with simple searches and can export geoJSON (which hopefully you can at least convert to a shapefile).

For your example, adjust the map to the area of interest, click "Wizard", input "amenity=restaurant" and click "build and run query", then click "Export" and select geoJSON.

answered 01 May '17, 15:19

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

1

QGIS or ogr2ogr can convert from GeoJSON to shape.

(01 May '17, 18:50) Frederik Ramm ♦