Fix Dockerfile, nexrad.sql issues
This commit is contained in:
parent
656c6e29cc
commit
e507d9b8c4
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
select load_extension('mod_spatialite');
|
select load_extension('mod_spatialite.so.8');
|
||||||
select InitSpatialMetadata(1);
|
select InitSpatialMetadata(1);
|
||||||
|
|
||||||
begin transaction;
|
begin transaction;
|
||||||
|
|
|
@ -5,7 +5,7 @@ class Database():
|
||||||
db = sqlite3.connect(path)
|
db = sqlite3.connect(path)
|
||||||
db.enable_load_extension(True)
|
db.enable_load_extension(True)
|
||||||
|
|
||||||
db.execute('select load_extension("mod_spatialite")')
|
db.execute('select load_extension("mod_spatialite.so.8")')
|
||||||
db.execute('select InitSpatialMetadata(1)')
|
db.execute('select InitSpatialMetadata(1)')
|
||||||
|
|
||||||
return db
|
return db
|
||||||
|
|
Loading…
Add table
Reference in a new issue