[Qgis-developer] Spatialite in QGIS master
Ramon Andinach
custard at westnet.com.au
Tue Jan 31 01:17:19 PST 2017
Thanks for the info, much appreciated.
> On 31 Jan 2017, at 16:41, Matthias Kuhn <matthias at opengis.ch> wrote:
>
> Hi,
>
> Spatialite will be supported, core spatialite functionality does not
> rely on python libraries.
>
> If there are issues with db_manager spatialite functionality or other
> python based modules, please contact your local package manager.
>
>
>
> Technically we were reviewing a couple of alternatives to pyspatialite
> (because it would be nice to have something properly supported for
> python 3 by upstream) but we ended up not implementing these because
> dynamic loading of extensions (and hence the spatialite extension) was
> not enabled on every platform IIRC.
>
> Matthias
>
> On 01/30/2017 11:15 PM, Ramon Andinach wrote:
>> Hi,
>>
>> A quick question from user land.
>>
>> Does having to explicitly set that option mean that spatialite might not
>> be supported in the packaged releases of QGIS 3?
>>
>> As someone that has (mostly) been paying attention to the continued
>> stream of "shape files are so old and decrepit" comments that come up on
>> these lists, and is making an attempt to learn one of the “modern”
>> storage types (say spatialite) I’d like to know before 3 is released if
>> I should be switching to a different path.
>>
>>> On 30 Jan 2017, at 21:32, David Marteau <dmarteau at 3liz.com
>>> <mailto:dmarteau at 3liz.com>> wrote:
>>>
>>> PySpatialite is a totally obsoleted python package: you must
>>> explicitely load the mod_spatialite extension using the spatialite
>>> load_extension(..).
>>>
>>> Qgis use its own version of pyspatialite, but you must enable it in
>>> the build configuration as stated by Matthias.
>>>
>>>
>>>
>>>> Le 30 janv. 2017 à 13:10, Saber Razmjooei
>>>> <saber.razmjooei at lutraconsulting.co.uk
>>>> <mailto:saber.razmjooei at lutraconsulting.co.uk>> a écrit :
>>>>
>>>> sudo pip3 install pyspatialite ?
>>>>
>>>> Cheers
>>>> Saber
>>>>
>>>> On 30 January 2017 at 10:48, matteo <matteo.ghetta at gmail.com
>>>> <mailto:matteo.ghetta at gmail.com>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I don't know if a miss some older discussion on this topic but
>>>> I'm not
>>>> able to load SpatiaLite databases in QGIS 3.
>>>>
>>>> It seems there there is no pyspatialite for python3:
>>>>
>>>> Traceback (most recent call last):
>>>> File
>>>> "/home/matteo/lavori/QGIS/build-qgis3/output/python/qgis/utils.py",
>>>> line
>>>> 598, in spatialite_connect
>>>> from pyspatialite import dbapi2
>>>> File
>>>> "/home/matteo/lavori/QGIS/build-qgis3/output/python/qgis/utils.py",
>>>> line
>>>> 647, in _import
>>>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>>> ImportError: No module named 'pyspatialite'
>>>>
>>>>
>>>> I checked around on the web and I found an issue the github repo [0]
>>>>
>>>> Has anyone a working SpatiaLite db on QGIS?
>>>>
>>>> Thanks to all
>>>>
>>>> Matteo
>>>>
>>>>
>>>> [0] https://github.com/lokkju/pyspatialite/issues/27
>>>> <https://github.com/lokkju/pyspatialite/issues/27>
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> <mailto:Qgis-developer at lists.osgeo.org>
>>>> List info:
>>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>> Unsubscribe:
>>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Saber Razmjooei
>>>> www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
>>>> +44 (0)7568 129733
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list