Anyone know how to get a track out of #OwnTracks recorder into a GPX file with timestamps?
Inspecting the track page let me figure out a page to request a geojson file from, but it doesn't have any time information in it :(
Anyone know how to get a track out of #OwnTracks recorder into a GPX file with timestamps?
Inspecting the track page let me figure out a page to request a geojson file from, but it doesn't have any time information in it :(
Simple: `docker exec owntracks-recorder ocat --user me --device myPhone --format gpx --from 2026-04-06T00:20:27.821Z --to 2026-04-06T01:05:27.8212Z`
Getting the user and device can be taken from the webui, or building up with `ocat --list` then `ocat --list --user me`
Now to get #GeoActivityPlayground to be happy with the exported gpx......
@__Knut_ :(
edit: :( as I assume I'm not going to enjoy any of the language options.
@__Knut_ Digging further, I saw a comment saying this tool should do it... https://github.com/owntracks/sundry/blob/master/backend/m2s/m2s.py
Pity I can't find anyone mentioning using it.....
@LovesTha Sorry. I confused OwnTracks with Phonetrack.
Please ignore my suggestion.
http://<deine-ip>:8083/api/0/export?user=<user>&device=<device>&from=2024-03-01&to=2024-03-02&format=gpx
It should work as long as your phone also sends the time data.
--snip--
<trkpt lat="52.5200" lon="13.4050">
<ele>35.0</ele>
<time>2024-03-01T12:00:00Z</time>
</trkpt>
--snip--