Bug report #6196
QGIS not opening SQLIte file generated by FME
|Assigned to:||-||% Done:||
|Platform version:||Affected version:||1.8.0|
|Status info:||Causes crash or corruption:||No|
I have a SpatiaLite file I created in FME. It looks valid in SQLiteStudio, but when I try and "connect" to it in QGIS 126.96.36.199 I get:
"Failure exploring tables from: C:/2 Temp Data/temp_test.sl3
no such column: type"
I've tried this with two different datasets so far, both give this error; I've attached one of the SQLite files (contains OS Meridian data).
Updated by rouault - over 2 years ago
This file is not a Spatialite DB, but a SQLite DB with a table organization and geometries in FGF (FDO Geometry Format : http://trac.osgeo.org/fdo/wiki/FDORfc16 ). You can open it through OGR - that handles it well - with the "Open Vector Layer" menu item.
Updated by Jonathan Moules over 2 years ago
Ah, that makes sense. Didn't realise there was a difference, but FME does say "SQLite Spatial (FDO)" under the writer.
You may wish to make the SpatiaLite reader capable of determining this itself and informing the user (the difference between the filetypes isn't something I guess users should be able to determine themselves after all). If so, change this ticket to "feature", otherwise, please close it.
Also available in: Atom