mlaldrid

mlaldrid / gpxsummary / 0.1.0

gpxsummary

Royalty Free
Calculate a summary of tracks in a GPX file (e.g. from a Strava activity)
Language
Python 3.x
Metrics
API Calls - 6 Avg call duration - N/A
Permissions
The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT). Learn More

Run an Example

Input
Output
{
  "total_distance": 50614.63436015703,
  "total_elapsed_seconds": 9836,
  "total_elevation": 136.19999999999982,
  "total_moving_seconds": 7389,
  "tracks": [
    {
      "distance": 50614.63436015703,
      "elapsed_seconds": 9836,
      "elevation": 136.19999999999982,
      "moving_seconds": 7389
    }
  ]
}

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth # When prompted for api endpoint,
        hit enter
        # When prompted for API key, enter your key:
        YOUR_API_KEY
CLI Install Docs

Use



  algo run mlaldrid/gpxsummary/0.1.0 -d '{
  "gpx_url": "data://mlaldrid/samplegpx/sample1.gpx"
}
' --timeout 300
CLI Docs