[Qgis-user] representation of angles in QGIS - recalculation to arithmetic values
Andrea Giudiceandrea
andreaerdna at libero.it
Mon Dec 6 23:49:56 PST 2021
> Richard Greenwood
> <https://www.mail-archive.com/search?l=qgis-user@lists.osgeo.org&q=from:%22Richard+Greenwood%22>Mon,
> 06 Dec 2021 10:57:06 -0800
> <https://www.mail-archive.com/search?l=qgis-user@lists.osgeo.org&q=date:20211206>
>
> g = (450-m) - int((450-m) / 360) * 360
> where m = mathematical angle (0 east, anti-clockwise)
> and g = geographic angle (0 north, clockwise)
Which is equivalent to:
g = (450-m) % 360
Best regards.
Andrea Giudiceandrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211207/3f5a25f3/attachment.html>
More information about the Qgis-user
mailing list