FitTrackee icon indicating copy to clipboard operation
FitTrackee copied to clipboard

KML/KMZ support

Open d-rk opened this issue 3 years ago • 2 comments

Hi,

do you have thoughts about integrating a KML/KMZ import or even plans to implement it? https://pypi.org/project/pykml/ could probably be used for this.

Cheers

d-rk avatar Jan 30 '22 19:01 d-rk

Hi,

For now, FitTrackee only supports .gpx files. But as I said in issue https://github.com/SamR1/FitTrackee/issues/122, I have in mind to work on .gpx files processing. I will look at that time if I can integrate other file formats.

SamR1 avatar Feb 03 '22 10:02 SamR1

Maybe as an intermediate step: convert kml to gpx first and process them afterwards using the current method. I haven't tried those Python scripts yet, but they can be starting points at least:

  • gpxpy contained once a parser for kml: https://github.com/tkrajina/gpxpy/commit/78db2d91dfec66c79b29592785c6f7f32f3785cc
  • kml2gpx.py from https://github.com/MauriceS/gpxdata

gorgobacka avatar Jul 04 '22 21:07 gorgobacka