question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More trkseg tags in one GPX

See original GitHub issue

Is your feature request related to a problem? Please describe. My tracking app exports gpx with </trkseg><trkseg> when i paused tracking. But OpenLayers shows only first <trkseg>...</trkseg> in the map.

Describe the solution you’d like Can OpenLayers shows all <trkseg>, not only first?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ahocevarcommented, Apr 18, 2022

Then remove the whole style: styleFn assignment, to render everything with the default style.

0reactions
vsevjednom-czcommented, Apr 18, 2022

Oh, you’re right! It’s a problem in ol.style.FlowLine from ol-ext. ol.style.Style works without problem. Thank you, thank you, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can GPX Files Contain More Than 1 Track?
For example, if you combine GPX files with common market software, the new combined GPX file will have a tag called <trkseg> to...
Read more >
Gpx file format, what use of segment? - Stack Overflow
Except gpx super-tag, every tag can be replaced more and more. The question is: What use of segment tag? Why trkpt tag can't...
Read more >
Support for multiple tracks within one gpx / kml file - Drupal
Most GPX files I have seem to be "split" this way. KML has this feature also, but a tad more complicated I guess....
Read more >
Generated GPX file contains both <rte> and <trk> tags #310
Yes the gpx data are valid. I'm talking more of them being in the same gpx file and having a route with connected...
Read more >
SpatiaLite: GPX tracks
A Track can contain more Segments, and more Tracks can be stored into the same ... Segment is delimited by a matching pair...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found