mattesCZ / mtbmap

Web map for mountain biking and hiking based on OpenStreetMap data.
GNU General Public License v3.0
29 stars 5 forks source link

GPX file containing multiple tracks (trk tags) is not shown correctly #70

Open lcapka opened 10 years ago

lcapka commented 10 years ago

It should be rendered as two paths.

  trk
    trkseg
      trkpt lat="49.67548833130594" lon="17.73124522867993"
      trkpt lat="49.67345889851708" lon="17.728807170045545"
    /trkseg
  trk
  /trk
    trkseg
      trkpt lat="49.664351" lon="17.62444"
      trkpt lat="49.66789295468729" lon="17.626420333720745"
    /trkseg
  /trk

untitled-1

image

mattesCZ commented 10 years ago

Thanks for the report, you're totally right. This issue is also linked with subsequent altitude profile rendering. I'll try to find out some reasonable solution.

lcapka commented 10 years ago

Thanks for the response! It would be great if you could improve this. I really like mtbmap's render style and also this GPX visualisation over the map.