[gdal-dev] osmconf.ini

Andre Joost andre+joost at nurfuerspam.de
Sat Feb 20 23:02:34 PST 2016


Am 20.02.2016 um 16:18 schrieb Even Rouault:
> Frank,
>
> I clicked on the "Export" button on the view centered on
> http://www.openstreetmap.org/relation/2827792 , and ran
>
> $ ogrinfo ~/Téléchargements/map.osm multilinestrings \
>   -where "osm_id = '2827792'" -geom=no -al -q \
> --config OSM_USE_CUSTOM_INDEXING NO


Based on that, I get a shapefile of the route with

ogr2ogr -overwrite route-export.shp map-export.osm  -where "osm_id = 
'2827792'" -progress --config OSM_USE_CUSTOM_INDEXING NO -skipfailures

HTH,
André Joost



More information about the gdal-dev mailing list