[Qgis-developer] SRS DB maintenance
Jürgen E. Fischer
jef at norbit.de
Mon Jun 3 07:48:27 PDT 2013
Hi Radim,
On Mon, 03. Jun 2013 at 13:10:21 +0200, Radim Blazek wrote:
> If I got it, the srs.db was created once by qgis_srs.sh and
> postprocess_srs.sql, now it is maintained by hand but also
> automatically updated (records are overwritten!?) by data from GDAL
> during compilation, right?
And on package install - to match the local GDAL and probably proj.4. IIRC only
the existing entries get updated and none gets deleted or added.
> My question/proposal: should not it all work vice versa? I.e. fill an
> empty srs.db with the latest data from GDAL first and then to add the
> missing projections/params? All the additional projections added by
> QGIS should be maintained in a readable text file (not in an sqlite
> binary).
No sure, in the past nobody was actually really capable of maintaining that
database. People usually tend to known only the few projections they use and
hardly can judge projections others supply. Moreover there were issues with
CRS coming from GDAL/OGR when the database didn't match their definition.
So "we" "outsourced" that to GDAL by introducing crssync.
JÃrgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
More information about the Qgis-developer
mailing list