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

Tutorial for osm2shp

0

Hi,

I like to use the program osm2shp (https://trac.openstreetmap.org/browser/applications/utils/export/osm2shp)

Is there somewhere a tutorial how to use it or some kind of instructions. I don't know how to use a makefile nor have I experience in C++

Thanks,

Uli

asked 30 Oct '12, 16:19

Wasus's gravatar image

Wasus
346161725
accept rate: 0%


One Answer:

1

I am not aware of an osm2shp tutorial. You might want to try out osmjs instead, a JavaScript-based OSM data processor that comes with the Osmium framework and can be used to produce shape files. There's a little documentation here: https://github.com/joto/osmium/tree/master/osmjs

If you are more familiar with the OGR world than with C++ and makefiles, you might also want to check out the OGR driver for reading OSM data: http://www.gdal.org/ogr/drv_osm.html - the ogr2ogr utility can trivially be used to make shape files with that.

answered 30 Oct '12, 16:52

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .