Bug report #6196

QGIS not opening SQLIte file generated by FME

Added by Jonathan Moules over 4 years ago. Updated over 4 years ago.

Status:Closed Start Date:08/15/2012
Priority:Normal Due date:
Assigned to:- % Done:


Target version:-
Platform: Pull Request or Patch supplied:No
Platform version: Affected version:1.8.0
Status info: Causes crash or corruption:No
Resolution:invalid Tag:


I have a SpatiaLite file I created in FME. It looks valid in SQLiteStudio, but when I try and "connect" to it in QGIS 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).

Copy_of_temp_test.7z (946.7 kB) Jonathan Moules, 08/15/2012 07:04 am


Updated by Even Rouault over 4 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 4 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.

Updated by Giovanni Manghi over 4 years ago

  • Status changed from Open to Closed
  • Resolution set to invalid

Also available in: Atom