QGIS/resources
Nyall Dawson bd830ba2dd [feature][expressions] Add "main_angle" function to return the estimated
main angle of a geometry

Returns the angle of the oriented minimum bounding box which covers the
geometry value.

Useful for data defined overrides in symbology of label expressions,
e.g. to rotate labels to match the overall angle of a polygon, and
similar for line pattern fills...
2020-07-16 08:44:51 +10:00
..
2020-03-11 07:51:02 +01:00
2017-08-22 07:51:23 +02:00
2020-06-17 06:23:30 +10:00
2019-07-16 11:29:42 +10:00
2020-07-09 09:53:48 +02:00
2019-12-12 14:44:50 +10:00
2019-12-12 14:44:50 +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