Can't create SpatiaLite databases and layers #15117
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: Alexander Bruy (@alexbruy)
Original Redmine Issue: 5515
Affected QGIS version: master
Redmine category:data_provider
When I try to create new SpatiaLite database (using Layer - New - New SpatiaLite Layer) I get next error after adding a new field: "Unable to initialize SpatialMetadata: no such function: InitSpatialMetadata". If I try to add new layer to existing database I get another message "Failed to create the geometry column. The database returned: no such function: AddGeometryColumn".
Maybe this problem depends on how SpatiaLite is compiled: as standard library intended to be loaded as an extension or as self-standing complete SQL-engine supporting an internal private copy of SQLite.
I'm on self-compiled master, external SpatiaLite 3.0.1 from libspatialite-amalgamation-3.0.1.
The text was updated successfully, but these errors were encountered: