[Qgis-developer] upgrading to spatialite 2.4.0-RC4

Marco Hugentobler marco.hugentobler at sourcepole.ch
Thu Nov 25 07:59:02 EST 2010


Hi Sandro

These changes seem to be fine, please commit them to trunk. 1.6 is already 
branched off, so no problem there (current sources will be released as 1.7).

Regards,
Marco


Am Donnerstag, 25. November 2010, um 12.55:04 schrieb a.furieri at lqt.it:
> Hi All,
> 
> I've just finished merging the latest
> SpatiaLite 2.4.0-RC4 in QGIS-trunk:
> 
> a) I've updated the 'internal' spatialite
>    sources: -/src/core/spatialite/*
> 
> b) the most interesting new feature now
>    supported in spatialite is the so called
>    "DB self-initialization": this practically
>    means that each time a new DB is created
>    from scratch, then the spatial metadata
>    tables [GEOMETRY_COLUMNS and
>    SPATIAL_REF_SYS] will be automatically
>    created. And the whole EPSG dataset will
>    be silently loaded into SPATIAL_REF_SYS.
>    So there is no longer any need to copy
>    a template DB as in previous versions,
>    because now a brand new DB can be created
>    simply calling the appropriate APIs
> 
> c) accordingly to this, I've modified
>    -/src/app/qgsnewspatialitelayerdialog.*
>    in order to support "DB self-initialization"
> 
> d) I've applied the same change on
>    -/src/plugins/offline_editing/offline_editing.*
>    where I found another function strictly
>    corresponding to c)
> 
> e) after all this I've then removed any
>    definition of: qgisSpatialiteDbTemplatePath()
>    because this seems to be obsolete and no
>    longer required:
>    -/src/core/qgsapplication.*
>    -/python/core/qgsapplication.sip
> 
> -------------
> 
> question #1: do you foresee any possible
> issue deriving from the above changes ?
> [I've performed some testing and anything
> seem to work as expected, but any further
> advice is obviously welcome]
> 
> question #2: may I commit the above changes ?
> or do you think it would be better waiting
> until after the 1.6.0 final release ?
> 
> bye Sandro
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list