aerofiles icon indicating copy to clipboard operation
aerofiles copied to clipboard

KML files support

Open s-celles opened this issue 6 years ago • 1 comments

Hello,

I own a GPS Bluetooth logger (Dual XGPS160). Being able to create GPX file or IGC file (without declaration) from KML file (with gx:Track should probably be supported). See sample.kml

My first try was to use pykml but it doesn't seems to be maintained anymore .

Then I tried to use simplekml but that's only a KML generator not a KML parser (see code)

Then I tried to use fastkml... and found that gx:Track is not supported https://github.com/cleder/fastkml/issues/37

So I wrote my own code using ElementTree https://github.com/cleder/fastkml/issues/37#issuecomment-552215225

Maybe adding support of KML files with gx:Track to aerofiles could be an interesting idea.

Kind regards

s-celles avatar Nov 10 '19 17:11 s-celles

I think gpsbabel would do the trick for you. Have you tried this? You can use this to convert to IGC and then use aerofiles to read in.

bubeck avatar Nov 18 '23 09:11 bubeck