[gdal-dev] How to calculate total change in headings?

Roger André randre at gmail.com
Thu Feb 11 02:04:56 EST 2010


Hi all,

Not a GDAL question at all, but one which might amuse some of you, and which
has been unsolveable in a satisfactory fashion for me.

Given a list of compass headings in degrees, how can you reliably calculate
the total change in direction?

Here's an example:  [355.5, 10.0, 5.1]

This seemed like a simple thing to figure out, but seems to be more
complicated than I had originally thought.

Roger
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100210/10215404/attachment.html


More information about the gdal-dev mailing list