[gdal-dev] Convert multipolygons from OSM

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Tue Feb 7 12:05:07 PST 2017

lhomme.xavier wrote
> Hi
>  I'm trying to extract multipologons from a PBF file  and convert them to
> a
> Fgdb or ashapefile  :
> More pricesely , I'm trying to extract waterway on Paris, And I don't
> succeed to retreive the Seine river. But only some part.
> Here is my cmdline  :
> Ogr2ogr -f "FileGDB"   c:\Users\xle\Documents\ArcGIS\idf.gdb -nln waterway
> -config OSM_CONFIG_FILE myosmconf.ini -skipfailures -overwrite -gt 65536
> -dialect SQLITE  -sql "SELECT GEOMETRY, osm_id, waterway as fclass, name
> from multipolygons where waterway is not null "
> ile-de-france-latest.osm.pbf


Seine in OSM is quite a complicated thing
http://www.openstreetmap.org/relation/962076#map=7/48.515/2.473. For
converting all of it into GIS format you must study how it is constructed
and think how you can collect all the pieces.

-Jukka Rahkonen-

View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Convert-multipolygons-from-OSM-tp5306803p5306811.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.

More information about the gdal-dev mailing list