Python Forum

Full Version: Building Mapnik for a pyenv python.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Mapnik is a package that displays images with maps generated by openstreetmap, or in my case Switch2osm.
it's home page is https://mapnik.org/.
It is not available yet with pip, so has to be built, and is rather a complicated process.

It took many trial and errors to get this right, so i thought I'd share with you the build instructions that finally worked.
They are located here: https://ircama.github.io/osm-carto-tutor...ik-library

This is a critical part of an Sqitch2osm install, so if you are ever inclined, use above blog.

FYI: Switch2osm shouldn't be attempted unless you have a fast processor, and plenty of memory (64 gig recommended).
It uses about between 1TB and 1.5TB of disk space.

Edit: forgot to mention, use virtual environment for build.