Turbo87 / aerofiles

waypoint, task, tracklog readers and writers for aviation

Home Page:http://aerofiles.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KML files support

scls19fr opened this issue · 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 cleder/fastkml#37

So I wrote my own code using ElementTree cleder/fastkml#37 (comment)

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

Kind regards

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.