[gdal-dev] Convert multipolygons from OSM
xavier lhomme
lhomme.xavier at gmail.com
Tue Feb 7 13:30:23 PST 2017
Hi
Thanks.
I just found that I need to add waterway in the closed_ways_are_polygons
option in the osmconf.ini
Le 7 févr. 2017 9:05 PM, "jratike80" <jukka.rahkonen at maanmittauslaitos.fi>
a écrit :
> 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
>
> Hi,
>
> 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.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170207/1fa6174b/attachment.html>
More information about the gdal-dev
mailing list