Skip to content

Instantly share code, notes, and snippets.

@jl2
Created November 29, 2015 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jl2/dc14aea03b3705646757 to your computer and use it in GitHub Desktop.
Save jl2/dc14aea03b3705646757 to your computer and use it in GitHub Desktop.
* (ql:quickload 'gpxtools)
To load "gpxtools":
Load 1 ASDF system:
gpxtools
; Loading "gpxtools"
.....
(GPXTOOLS)
* (defparameter *gpx*
(gpxtools:read-gpx "/Users/jeremiah/gpx_tracks/precarious_climb.gpx"))
Processing track: ACTIVE LOG
*GPX*
* (gpxtools:summarize *gpx*)
Total elevation gain: 3567.271946242661d0 feet
Total elevation loss: -3538.885209324304d0 feet
Total elevation loss: 6.437161570619994d0 miles
NIL
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment