viking icon indicating copy to clipboard operation
viking copied to clipboard

Not all input is GPX these days

Open jidanni opened this issue 1 year ago • 1 comments

Man page says:

   -e, --external
      Load all specified GPX files in 'external' mode.

What about KML, etc.? Maybe above just remove the word "GPX".

jidanni avatar Nov 26 '23 02:11 jidanni

Actually due to the specifics of the implementation - this 'external' mode only works for GPX files.

Separately I have been thinking about making this work for any supported file type, but there is a little wrinkle I've yet to decide how to best proceed.

Currently this external mode loading is performed in the TrackWaypoint layer - which is OK for GPX files since they only have straight-forward geodata - tracks/routes/waypoints, whereas for KML, TCX and FIT files potentially have 'container' level grouping information - much like how Viking's Aggregate levels work.

This probably means I'll have to add the External file properties (as used in the TrackWaypoint layer) to the Aggregate layer as well.

rnorris avatar Nov 28 '23 21:11 rnorris

External mode is now enabled for main file types since commit:fd4e29da38b0b1ccee135ee810782b9d78eabdfe2 (committed in June 2024)

rnorris avatar Aug 24 '24 13:08 rnorris