Skip to content
Permalink
Browse files
Make OSM DB metadata initialization in transaction
  • Loading branch information
giohappy committed May 28, 2014
1 parent 232a8d7 commit afd468775f2b7364302de6414b3a17ff97666d08
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/openstreetmap/qgsosmimport.cpp
@@ -141,7 +141,7 @@ bool QgsOSMXmlImport::createDatabase()
{
"PRAGMA cache_size = 100000", // TODO!!!
"PRAGMA synchronous = OFF", // TODO!!!
"SELECT InitSpatialMetadata()",
"SELECT InitSpatialMetadata(1)",
"CREATE TABLE nodes ( id INTEGER PRIMARY KEY, lat REAL, lon REAL )",
"CREATE TABLE nodes_tags ( id INTEGER, k TEXT, v TEXT )",
"CREATE TABLE ways ( id INTEGER PRIMARY KEY )",

0 comments on commit afd4687

Please sign in to comment.