mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
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
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