Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix SpatiaLite 3.0 support
  • Loading branch information
wonder-sk committed Mar 1, 2013
1 parent 3e8be6c commit 4baba76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/openstreetmap/qgsosmimport.cpp
Expand Up @@ -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 )",
Expand Down

0 comments on commit 4baba76

Please sign in to comment.