6.11.x
Speed and Heading calculation starting from GPS coordinate
Posted December 10th, 2009 by giulioeSimple tool for the calculation of Speed and heading starting from Latitude and Longitude.
//Thanks to darcas.net/index.php/2008/10/12/calcolo-della-distanza-tra-due-punti-geografici/ Function SpeedAndHeading(TimeWv, LatWv, LonWv) Wave TimeWv, LatWv, LonWv Duplicate/O TimeWv, Speed_Knot Duplicate/O TimeWv, Speed_m_s Duplicate/O TimeWv, Heading Variable i, z1, z2, HeadTmp For(i=0;i<=NumPnts(TimeWv);i+=1) //Speed Calculation
