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"
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
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