> For the complete documentation index, see [llms.txt](https://osm-tw.gitbook.io/learnosm-tw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osm-tw.gitbook.io/learnosm-tw/0600-12-31-osm-data/draft0600-12-12-converting-to-shapefile.md).

# converting to shapefile

5\) Converting to Shapefile There are various tools that convert OSM data into shapefiles, each with its own pros and cons. They all work via the command-line, so are best suited for those with a technical background. Some of the tools are: osm2shp C++ application for converting OSM to shapefile. <http://trac.openstreetmap.org/browser/applications/utils/export/osm2shp> osmlib Ruby library for converting to OSM. Hasn’t been maintained in a long time but still is functional. Not good with very large datasets. Easy to configure. <http://wiki.openstreetmap.org/wiki/OSMLib> ogr2ogr This library has recently added support for OSM, and can convert to all common geographic data formats. <http://www.gdal.org/ogr/drv_osm.html>
