Closed danielmintz closed 2 years ago
I take it back. I delved deeper into documentation and you do support this feature i.e. trkpts and more it works now uploading to Strava.
If it helps here is the code excerpt I manilpulated for my needs,
positionList.forEach((point) { gpx.trks.add(Trk(trksegs: [ Trkseg(trkpts: [ Wpt(lat: point.latitude, lon: point.longitude, time: point.timestamp) ]) ])); });
@kb0 hey great flutter package. I'm building a mountain bike trail navigation app and this really got me out of a tough spot on its journey.. So thank you as building these packages must take lots of time, thought, and patience. I think it could be valuable to add these features more explicitly to your Readme page. You do mention tracks are supported I realise. Mainly to reveal the full functionality available.
Hi there,
When I upload the file to Strava I get the error message "The file is empty". I think it is because the package uses 'wpt' rather than 'trkpt'. I think Strava only recognizes 'trkpt'. Are there plans to support 'trk' which more represents a track rather than just 'wpt; waypoints?
NB When I manually recreate the same file and replace all 'wpt' references to 'trkpt' and upload manually to Strava it works which is why I think this is the issue.
Any pointers to get around this or plans to add the functionality.
Many thanks..