This service can be used to convert GPX files to PNG using the original gpx2png.pl script.
The perl script uses openstreetmap to get the map tiles.
Don't blame me for anything. I just needed this to generate images from GPX files for a cycling club I'm connected to ;)
This repository is unmaintained and has been archived as of 2025-05-06
Copy docker-compose.dist.yml to docker-compose.yml. Adjust the file to your own needs and run:
docker-compose up -dThis will build the docker image and listen on port 5000 by default.
Example with curl:
curl -XPOST --data-binary @yourawesomeroute.gpx http://localhost:5000 > awesomeness.pngJust post the raw .gpx file to the service and the png data will be returned.