[Qgis-user] Accessing Spatialite 3.0.1 in QGIS 1.8 using Python Console
richard burcher
drownedfrog at gmail.com
Fri Jul 6 14:42:15 PDT 2012
Hi Folks,
I'm trying to access spatialite from the python console with aim to building
a plugin. I'm fairly new to qgis dev & understanding the api.
>From checking it seems there are two versions of spatialite?: using
pyspatialite module the version stated is 2.3.1 but I need access to 3.0.1
(referenced in about dialog).
System:
windows 7 x64
qgis 1.8 standalone
Steps so far:
Importing sqlite3, the load_extension(True) does not return any messages but
I can not find a system dll ie "libspatialite-.dll". The only reference to a
spatialite dll is spatialite.dll in the qgis/bin folder. I attempted to use
that to load the extensions but message recieved is "operational error: not
authorized".
How to I load the 3.0.1 spatial extensions? What have I missed?
Cheers,
Richard
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Accessing-Spatialite-3-0-1-in-QGIS-1-8-using-Python-Console-tp4986619.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
More information about the Qgis-user
mailing list