Export a track length.

Started by Oleg_R, January 30, 2017, 04:12:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Oleg_R

Hola,



How can I get for use in an external program, the length of the segment of the track and the entire track.



Thanks!

orux

#1
Quote from: "Oleg_R"Hola,



How can I get for use in an external program, the length of the segment of the track and the entire track.



Thanks!


Hello,



you can read/parse the GPX/KML file and calculate those values,





orux

Oleg_R

#2
Сan I do it while the track is not completed? Or I must query an Oruxmaps?



I'm trying to solve this problem: when Oruxmaps recording a track, get a track length and send it to MiBand2. This is useful when you need to see distance, but inconvenient to get a smartphone. I can send some text (or digits) to MiBand2, but how can I get it from OruxMaps?



I try to parse the GPX if it is available until the end of the track recording.



Thanks. :)

Oleg_R

#3
I tried to work with the GPX file. If the track is not completed, OruxMaps does not create a GPX file. And therefore I can't count out the current length of the track.

There may be some opportunity to obtain this figure "dynamic"?