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

Shapefile download

0

Hey guys! I need to import spatial data via oracle map builder of only one city - st. Petersburg for my bachelor's thesis in shapefile format. I need to have BOUNDARY_POLYGON, BUILDING_POLYGON, and HIGHWAY_LINE files. Could you please tell me how to get these files?

asked 26 Apr '21, 19:39

korfoo's gravatar image

korfoo
11112
accept rate: 0%


One Answer:

0

I'm not sure if this provides boundary polygons, but bbbike does provide simple shapefile extracts for given areas: e.g., St Petersburg. The shapefiles are likely missing many OSM tags.

The alternative is to use overpass(-turbo) to extract the layers you want as geojson, and convert to .SHP with ogr2ogr.

answered 26 Apr '21, 22:33

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

Source code available on GitHub .