QGIS/resources
Nyall Dawson 56d03f783f Ship a seperate srs.db file for proj >= 6 builds
It's too dangerous to reuse the existing one, as it breaks the
ability to run multiple versions of qgis (i.e. proj < 6 and proj >= 6)
on the same machine

Fixes #30569
2019-07-16 06:18:32 +10:00
..
2019-02-26 12:49:02 +10:00

Updating the srs.db
-------------------

The srs.db can be updated from the EPSG codes in the
GDAL installation:

1) Install latest GDAL, be sure to configure with --with-python.
2) Set PATH and PYTHONDIR if installed GDAL in non-standard location.
3) Run 'scripts/qgis_srs.sh > new_srs.sql'. It may take a minute or two.
4) Run 'sqlite3 new_srs.db < new_srs.sql'.'
4) Run 'sqlite3 new_srs.db <postprocess_srs.sql'

You can use sqlite3 to dump the contents from both srs.db and new_srs.db
before you decide to commit.

Magnus Homann 2009-08-19