This object is in archive! 

API for track (not based on device location)

Andrey Svetliclhny shared this question 6 years ago
Answered

Is it possible to create track with arbitrary coordinates (not based on device location). I have flying model and want to see location on screen realtime (ideally with color based on altitude). Model send coordinate realtime to server. In case of crash, I want to see direction to last known point and track.

Best regards,

Andrey Svetliclhny

Replies (5)

photo
1

Good day Andrey,

I'm thinking about possible solutions and one nice may exist for this use-case. It partially depends on your skills. It is also close to idea already published here: http://help.locusmap.eu/topic/_live_waypoints_from_remote_server

I can imagine creating a tiny server, that will receive requests from your running Custom Live tracking in Locus Map app and in every response, it will return small GPX file with a track or just last location of your model. It seems to be missing in our documentation, but check my answer here: http://help.locusmap.eu/topic/live-tracking-via-webservice#comment-39912

Do you find this solution usable for you? I believe it should work without big problems.

Jiří M. aka Menion

photo
1

Thank you very much!


It works perfectly!

I wrote a simple server, that returns a GPX file, and tested it with a track, exported from locus, than edit GPX by hand.

The track changed on screen immediately.


Thank you a lot!

Best regards,

Andrey Svetlichny

photo
1

Hmm it was quick, perfect!!

You are welcome,

Jiří M. aka Menion

photo
1

I posted the implementation on GitHub. I hope this can be useful

https://github.com/Andrey-Svetlichny/LocusGpsTracker


Best regards,

Andrey Svetlichny

photo
1

Ah thanks, Andrey, nice. I have informed my colleague Michal, maybe he will post it somewhere on Facebook ;)

I'm glad it works for you!

Jiří M. aka Menion

Replies have been locked on this page!