I am trying to convert from .osm
to a SQLite database using the following command:
ogr2ogr -f "SQLITE" -dsco SPATIALITE=YES OSM_01.db OSM_01.osm
However I am getting an error message "ERROR 1: String buffer too small"
I am trying to convert from .osm
to a SQLite database using the following command:
ogr2ogr -f "SQLITE" -dsco SPATIALITE=YES OSM_01.db OSM_01.osm
However I am getting an error message "ERROR 1: String buffer too small"
As mentioned at Creating Spatialite DB from Swedish OSM, you might consider updating your command as follows:
ogr2ogr -f "SQLITE" -dsco SPATIALITE=YES OSM_01.db OSM_01.osm -progress --config OGR_SQLITE_SYNCHRONOUS OFF --config OSM_COMPRESS_NODES YES