Skip to content
Scripts for generating custom cycling maps using Mapnik and open data
Python Shell
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add icons Sep 9, 2019
LICENSE Fix link Sep 10, 2019
countries.txt Fixes #2 -- Fix missing countries.txt Jan 20, 2020 Improve lat lng config Sep 9, 2019

Generating a custom cycling map with Mapnik

View blogpost at

Getting started

Make sure you have a running Postgres database, with a gis schema with GIS extensions enabled.

Run the command


to download the data and insert it into the database.

Run the command


to generate the Mapnik XML configuration and the printable PDF map in the folder output.

You may edit the constants in the download and generate scripts to generate maps for other countries.

Example PDF Output

Expected output

You can’t perform that action at this time.