Paolo Corti <pcorti <at> gmail.com> writes: > > Hi guys > > I am giving a try to the new OSM driver, that looks very promising to me ;) > I am using the latest source code from trunk, and I cannot figure out > how can I set the OGR_INTERLEAVED_READING when using ogr2ogr. > > If I try to export an OSM file like this the option seems to be > ignored, and the process export just the first 100k features: > > $ ogr2ogr test.shp myfile.pbf lines -lco OGR_INTERLEAVED_READING=YES > ERROR 1: Too many features have accumulated in lines layer. Use > OGR_INTERLEAVED_READING=YES mode
Configuration options are given as --config OPTION VALUE This is the command I have been using for converting OSM data into Spatialite ogr2ogr finland.sqlite finland.osm.pbf -f SQLite -dsco SPATIALITE=YES -gt 10000 --config OGR_SQLITE_SYNCHRONOUS OFF -Jukka Rahkonen- _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
