QGIS/resources
Martin Dobias 440d8d854c Add entry for OSTN15 transformation grid for datum shift
This is the change in plain SQL:

INSERT INTO tbl_datum_transform VALUES (7709, 100018, 4277, 4258, 9615, 'OSTN15_NTv2_OSGBtoETRS.gsb',
  null, null, null, null, null, null, 'UK National Transformation provided by Ordnance Survey',
  'For applications requiring an accuracy of better than 10 centimetres.', 1, 0, 1264);

INSERT INTO tbl_datum_transform VALUES (7710, 100019, 4277, 4326, 9615, 'OSTN15_NTv2_OSGBtoETRS.gsb',
  null, null, null, null, null, null, 'UK National Transformation provided by Ordnance Survey',
  'For applications requiring an accuracy of better than 10 centimetres.', 1, 0, 1264);

(one still needs to manually download the .gsb grid file to use it but at least no need to modify system srs.db)

https://www.ordnancesurvey.co.uk/business-and-government/help-and-support/navigation-technology/os-net/formats-for-developers.html
2018-10-15 15:12:10 +02:00
..
2017-08-22 07:51:23 +02:00
2018-08-08 09:19:01 +02: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