Author Topic: Function of <trkseg> ?  (Read 3275 times)

PeteCresswell

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Function of <trkseg> ?
« on: December 02, 2004, 06:19:57 PM »
To better my understanding.... what's the intent of having separate <trkseg>'s instead of just having all the <trkpt>'s under one <trk>?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Function of <trkseg> ?
« Reply #1 on: December 02, 2004, 07:59:21 PM »
Tracksegs are different pieces of a single track.  We use them (as well as other GPX programs) to store 'breaks' in tracklogs (loss of signal or turning off).  Such tracks have breaks that is information that shouldn't be thrown away, but for example you still want to profile the whole track together, rather than in pieces.