[OSM-dev] osm2shp

Jukka Rahkonen jukka.rahkonen at latuviitta.fi
Fri May 2 21:08:55 UTC 2014


Hi,

Use the GDAL utility program ogr2ogr. Read documentation
http://www.gdal.org/ogr2ogr.html
http://www.gdal.org/ogr/drv_osm.html

Pay attention to osmconf.ini and edit it to contain all the attributes 
you want to keep.


-Jukka Rahkonen-


Samat wrote 2014-05-02 21:39:
> Dear All,
> 
> First of all, I would like to tell you, that I am not a programmer,
> but I would like to convert an osm xml to shapefile.
> 
> This osm xml contains the database of a whole country (Hungary), now
> it is around 1,2 GB (downloaded from Geofabrik).
>  I would need the _same content_ in ESRI shapefile format, including
> points (nodes in osm), polylines (relations in osm) and
> (multi)polygons/areas (closed ways in osm).
> 
> I tried to use tools listed here:
> http://wiki.openstreetmap.org/wiki/Shapefiles#Create_your_own_shapefiles
> [1]
>  but until now I didn't find any tool which works and has the features
> for converting the whole content of a quite large area.
> 
> I am not sure about Osmium: http://wiki.openstreetmap.org/wiki/Osmium
> [2]
>  Is it a ready to use tool for converting osm to shapefile or only a
> developer environment to write codes for that?
> 
> Could you please help me out which tool fulfill my needs?
> 
> Thank you in advance.
> 
> Best regards,
>  Samat
> 
> 
> Links:
> ------
> [1] 
> http://wiki.openstreetmap.org/wiki/Shapefiles#Create_your_own_shapefiles
> [2] http://wiki.openstreetmap.org/wiki/Osmium
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev



More information about the dev mailing list