OpenTracks icon indicating copy to clipboard operation
OpenTracks copied to clipboard

Upgrade to KML2.3

Open dennisguse opened this issue 2 years ago • 5 comments

Export format is now KML2.3. The importer supports KML2.2 and KML2.3.

Works with:

  • [x] OpenLayers
  • [ ] OsmAnd
  • [ ] Google Maps

dennisguse avatar May 08 '22 13:05 dennisguse

@pstorch Does this work for you?

dennisguse avatar May 11 '22 17:05 dennisguse

I tried it with two web kml viewer (one of them was google maps). And they cannot read the files. I could open a few files with a Map Viewer plugin in Visual Studio Code. Didn't see any error logs or so. I try to analyze further.

Edit: Also Osmand and Locus can't open the files.

pstorch avatar May 11 '22 19:05 pstorch

I just tested with OpenLayers and there it works...

dennisguse avatar May 11 '22 19:05 dennisguse

Hmm, looks like the support for KML 2.3 is not that widespread.

pstorch avatar May 11 '22 20:05 pstorch

:/

Thanks for testing. I had hoped that support would be more widespread. I guess, we then have to do some more communication - at least to the open-source projects out there.

dennisguse avatar May 23 '22 05:05 dennisguse

GPXPod does not support KML2.2, but only KML2.3 https://github.com/eneiluj/gpxpod#known-issues

dennisguse avatar Sep 11 '22 12:09 dennisguse

@pstorch last weekend, I had some time check the KML2.3 support out there. And to be honest - it was worse than expected. I now see, why people are sticking with GPX ;)

Anyhow.... My proposal: switch to KML2.3 as export format while allowing to import KML2.2. In addition, we keep pushing open-source projects to slowly migrate as well. Finally, we add a "compatibility matrix" to our README showing which format to use when.

Does this sounds reasonable?

dennisguse avatar Sep 13 '22 18:09 dennisguse

I don't know how many users rely on KML 2.2 as a transfer format into another app. I use KML export only as backup for OT. So for me it's fine :wink:

And there is also GPX which is widely supported by other apps.

pstorch avatar Sep 13 '22 19:09 pstorch