flopp / GpxTrackPoster

Create a visually appealing poster from your GPX tracks
MIT License
411 stars 50 forks source link

Track Loader fails for GPX tracks without a "type" #90

Closed AYellowDart closed 3 years ago

AYellowDart commented 3 years ago

The recent update for activity type filtering causes the import of GPX files without a "type" to fail. I am using this software to import GPX tracks from ForeFlight which have no type field in the track. Reverting to the prior commit solves the problem as does adding a type field to GPX file manually.

Thanks!

lowtower commented 3 years ago

@AYellowDart: I wasn't aware of the fact that a gpx file can come without a type. Can You test my PR with Your setting? Thanks in advance LT

AYellowDart commented 3 years ago

That did it. Works great with no editing. I took at a look at the GPX 1.1 standard and track type is optional. Thank you!