Format to save Recorded Track #8939
kirylkaveryn
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
@kirylkaveryn did you see #8314 ? We should leverage existing KML spec before inventing a wheel. Storing tracks internally in both GPX and KML formats is a more complex solution than using only KML. What are pros and cons? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem Description
To implement the
Track Recording
feature, it is necessary to determine the format in which the recorded track will be stored.Currently, tracks are stored in KML format as an array of coordinates (according to the documentation ) within the
<LineString><coordinates>
tag. However, this format does not allow for storing additional data such as timestamps and altitude, which are necessary for the full functionality of the feature.Competiors
Some applications store the recorder tracks in GPX format (OsmAnd), some in KML (MapsMe) and for some the internal storage is hidden (AllTrails, Strava, GuruMaps etc).
MapsMe allows to export track in KML:
MM_Example.kml.zip
GuruMaps allow to export in multiple formats (KML, GPX, JSON):
GuruMaps_Example.kml.zip
OsmAnd and Strava export only in GPX:
Osmand_Example.gpx.zip
Strava_Example.gpx.zip
Possible Solutions
It seems like the best format to store tracks is GPX because it supports waypoints, tracks, and paths https://www.topografix.com/GPX/1/1/#type_trkType.
OM stores the files in KML so it can be extended with the custom tags to support additional
metatada so it will be possible to convert it in GPX during the exporting and vice versa.
Requirements (will be updated)
@biodranik @rtsisyk @vng @cyber-toad WDYT?
Beta Was this translation helpful? Give feedback.
All reactions