Skip to content
Permalink
Browse files
Fix SpatiaLite 3.0 support
  • Loading branch information
wonder-sk committed Mar 1, 2013
1 parent 3e8be6c commit 4baba76e1a9ab465be069a1cb73d5af9305ee234
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('WGS84')",
"SELECT InitSpatialMetadata()",
"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 4baba76

Please sign in to comment.