Fwd: [maemo-users] how to determine track's length from GPX-file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi Andew,

thanks for your Ruby-Script, this solves my problem!

  http://highearthorbit.com/projects/geolocation/gpx.rb

To process one particular file generated by Maemo-Mapper I had to add abs() to the sqrt() call, see:

  http://armin-warda.de/gpx.rb
  http://armin-warda.de/Track-1

Btw. I removed the redundant count variable, added track segment length output, and changed it from miles to km ;-)

  regards, Armin.



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux