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

From: Armin M. Warda armin.warda at googlemail.com
Date: Mon Jul 10 20:53:29 EEST 2006
  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.

More information about the maemo-users mailing list