OruxMaps

Uncategorized Boards => GENERAL => Topic started by: Oleg_R on January 30, 2017, 04:12:28 PM

Title: Export a track length.
Post by: Oleg_R on January 30, 2017, 04:12:28 PM
Hola,



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



Thanks!
Title: Re: Export a track length.
Post by: orux on February 04, 2017, 05:38:56 PM
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
Title: Re: Export a track length.
Post by: Oleg_R on February 06, 2017, 10:00:42 AM
С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. :)
Title: Re: Export a track length.
Post by: Oleg_R on February 15, 2017, 03:48:20 PM
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"?