Mapnik style of Rouen city
Get a full render in PDF or PNG.
You can build the map yourself by retreiving data and building with mapnik.
Clone this repository and download the data from Rouen fron Planet.osm. You can download an extract using BBBike. You must download it as .osm.pbf
and place it as rouen.osm.pbf
in repository root.
Run docker compose to start Postgres and copy extracted data into postgres. It takes usually 45s to 1min to setup postgres database.
docker-compose up
You're now ready to build the map using the provided script render.sh
./render.sh
Rendered maps are available as render.png
and render.svg
.
-
docker-compose.yml
describe the docker infrastructure required to build the map -
render.py
the main mapnik script used to define image size, output type, etc. -
style.xml
the mapnik XML style -
render.sh
render script calling mapnik container to render -
layout.afdesign
Affinity designer file used to render the full poster -
gros-horloge.afdesign
Affinity designer file used to add some pictos for the Gros-Horloge monument (abandonned) -
get-extent.pgsql
A query sample calculating the extent you can use in your style