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

2010-02-11 Thread Christopher Barker
Roger André wrote: 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. fun with circular math... Given a list of compass headings in degrees, how can you reliably calculate the total change in direction? Here's

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

2010-02-10 Thread Roger André
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