Comments (1)
@doc75 - good question. I'm open to both suggestions. As a runner myself, I prefer to not include track segment pauses, although this may matter to others who care about total duration between beginning and end.
What do you need duration for? In what manner are you using the GPXFile
?
Could we possibly add an extra attribute on the GPXFile object? A moving duration (as opposed to the absolute duration)?
In terms of implementation, I would prefer each Segment
be responsible for calculating its own duration, then have each successive container (Track
, GPXFile
) calculate its duration by aggregating the durations of their respective Segment
s.
from gpx.
Related Issues (16)
- Dosen't work with Ruby Enterprise Edition HOT 2
- bump version to 0.9 and publish it to rubygems HOT 3
- earliest_point and latest_point not set when GPX file contains no time information
- Yanked v0.8 HOT 1
- The problem with parsing file HOT 1
- is there a way to it gpx to parse the garmin extension? HOT 3
- gpx installs latest version of nokogiri which is broken on Mac OS HOT 1
- adding to the namespace for output files HOT 2
- Pythagorean distance is confusing and not useful HOT 5
- Ability to get the lat max/min, lon max/min HOT 1
- Accept StringIO and TempFile HOT 2
- New contributors? HOT 7
- GPX to geoJson HOT 2
- New release? HOT 3
- Would you consider changing the license on the library? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpx.