timeline-old icon indicating copy to clipboard operation
timeline-old copied to clipboard

gpx parse fix

Open coolmule0 opened this issue 2 years ago • 0 comments

Importing a gpx file does not work unless the file has a read attribute when using parse


As a side not I am using Owntracks in its own instance, exporting using ocat, and importing into this timeline. One issue is that owntracks exports .gpx files with single quotes ' in the schema, while gpxpy expects the file to have double quotes ". See https://github.com/tkrajina/gpxpy/blob/cb243b22841bd2ce9e603fe3a96672fc75edecf2/gpxpy/parser.py#L105. I'm not if one of the two repos isn't following the schema properly. It means I need to manually adjust single quotes to double during the export/import process

coolmule0 avatar May 08 '22 17:05 coolmule0