Coder Social home page Coder Social logo

Comments (5)

robertlipe avatar robertlipe commented on September 26, 2024

from gpsbabel.

tsteven4 avatar tsteven4 commented on September 26, 2024

I have a very new garmin device. Natively it records fit files which include stop and start events. These can be triggered manually or automatically. We translate these into track segments (garmin_fit -> gpx). The gpx available directly from garmin only includes one track segment even if there are multiple stop starts in the fit file.

In this case I think preserving all the segments makes more sense. This would result in a change to a reference file, trackfilter3.gpx. There are other cases, e.g. merge, were we intentionally drop the segment markers, as it isn't clear what would should make up a segment in the merged output. So if pack preserves segments it would be possible to delete them by
-x track,pack -x track,merge.

For pack, we say we join the tracks, but don't mention how segments are handled. From our documentation:

This option causes all tracks to be appended to one another to form a single
track.

From the gpx 1.1 xsd:

A Track Segment holds a list of Track Points which are logically connected in order. To represent a single GPS track where GPS reception was lost, or the GPS receiver was turned off, start a new Track Segment for each continuous span of track data.

from gpsbabel.

tsteven4 avatar tsteven4 commented on September 26, 2024

OTOH, isn't option 1 what trk2seg does?

from gpsbabel.

GPSBabelDeveloper avatar GPSBabelDeveloper commented on September 26, 2024

from gpsbabel.

tsteven4 avatar tsteven4 commented on September 26, 2024

This was fixed in #1155

from gpsbabel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.