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

Shapefile download

0

How can I download a .shp of South Carolina, US? Or how can I convert to .shp one of the the downloads from http://download.geofabrik.de/north-america/us/south-carolina.html where they have the options for .osm.pbf or .osm.bz2. Thanks!

asked 18 Jun '13, 19:10

QuisEs99's gravatar image

QuisEs99
1111
accept rate: 0%


One Answer:

5

Try http://extract.bbbike.org where you can request a shapefile for a custom area. Alternatively, you can produce shapefiles from .osm.pbf by

  • using the osmjs program that comes with osmium or
  • using the OSM OGR driver (e.g. from ogr2ogr) to convert to shape or
  • importing the file into a PostGIS database with imposm or osm2pgsql, and then export shapefile from there with pgsql2shp

Having said that, I am the guy running download.geofabrik.de and I'm working on adding shape files for US states so if you can wait for a couple more days there's likely going to be a download option for .shp.zip there.

answered 18 Jun '13, 19:24

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Thanks! I'll try what you've got and post back if I need more help otherwise I will continue to watch your website for that download option. I appreciate the help!

(18 Jun '13, 19:29) QuisEs99