Gpxer — GPX to PNG tool
Features
- Fast and memory effective — you can draw even 10 000 px × 10 000 px image without going Out of Memory!
- Accurate canvas calculations.
- Tested with thousands of real world GPX tracks!
- Compression support.
Perfect for batch rendering! See waypoint.in/routes for real world example.
It can't (yet):
- output any statictics;
- draw any charts;
- color heights on lines;
Download
- Pre-compiled binaries — but you should install
libmagickcore5
or something to make them work - Git repository:
git clone http://komar.in/git/gpxer/
(or use github) - Release sources in tarballs
Building
First you need to get:
- an OCaml compiler >= 3.11;
- GNU Make;
- findlib for ocamlfind command;
- extlib for OCaml;
- imagemagick for OCaml >= 0.34 (don't forget to install
libmagickcore-dev
or something); - xmlm for OCaml;
- curl (not a library, just /usr/bin/curl).
Then simply run
make
sudo make install
Usage
gpxer.opt < /path/to/file.gpx
Read gpxer -h
for more information.
Special thanks
In Ferbruary 2015 development was sponsored by Fastport. Thanks!
Copyrights
The gpxer itself is free software and distributed under GPL 3.
Default maps tiles — http://{s}.tile.opencyclemap.org/landscape/{z}/{x}/{y}.png
— is © Thunderforest and the map data is © OpenStreetMap contributors. If you are going to distibute the rendering results, please place the attribution by yourself. I hate copyrights over the picture, so I don't force my software to draw it.