TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.15k stars 357 forks source link

Support for GPX timeseries #671

Open meh9 opened 9 years ago

meh9 commented 9 years ago

GPX supports having timeseries data. It would be awesome if we could play it back. The data can look like this:

   <trkpt lat="-35.2115090" lon="149.0153150">
    <ele>551.9</ele>
    <time>2015-03-29T21:12:19Z</time>
    <extensions>
     <gpxtpx:TrackPointExtension>
      <gpxtpx:atemp>18</gpxtpx:atemp>
      <gpxtpx:hr>105</gpxtpx:hr>
      <gpxtpx:cad>16</gpxtpx:cad>
     </gpxtpx:TrackPointExtension>
    </extensions>
   </trkpt>

For bonus points support colourising the track according to any field present - in this case elevation, temperature, heartrate, cadence.

stevage commented 8 years ago

Looks like Cesium is in the process of getting native GPX support: https://groups.google.com/forum/#!topic/cesium-dev/Ov014I88lMA

No indication there whether it will support the time data though.

rsignell-usgs commented 8 years ago

For inspiration, google earth supports the time in GPX, at least in the ones that I get from my running app. Here is a sample GPX file: http://gps.motionx.com/dl.php?name=track.gpx&file=http://share.gps.motionxlive.com/shr/x/gpx/99595bcec92dd204ec4607b5ba34e55b No comments please about the distance and speed that I run! :grimacing: