Common Lisp utilities for working with GPX files.
Common Lisp
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Added .gitignore for .png and .gpx files. Sep 14, 2014
LICENSE Add to GitHub Sep 13, 2014
README.md
gpxtools.asd Added elevation plot function. Added dependency on adw-charting-vecto. Sep 14, 2014
gpxtools.lisp Merge branch 'master' of https://github.com/jl2/gpxtools Aug 1, 2016
package.lisp Add simplification. Jul 30, 2016

README.md

This is a small library for working with GPX files in Common Lisp.

Parts of the code are a little ugly, and it doesn't have many features, but it is still useful already.

Here is a sample usage from the REPL:

* (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
* (gpxtools:elevation-plot *gpx* :file-name "/Users/jeremiah/gpx_tracks/precarious.png")
collect-points returning 1906 points
Plotting 1905 points.
#P"/Users/jeremiah/gpx_tracks/precarious.png"
* 

Screenshot