mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Adds geom_from_wkb and geom_to_wkb, which mirror the existing geom_from_wkt/geom_to_wkt functions but for WKB representations of geometries. Since QGIS 3.6 we've had good support for binary blob values in expressions and field values, so adding these functions allows users to work with binary blob fields containing WKB representations of geometries (e.g. with a geometry generator showing the encoded geometries)
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