Python Forum
Building Mapnik for a pyenv python.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building Mapnik for a pyenv python.
#1
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.
buran and j.crater like this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding to python environment in pyenv virtual project Larz60+ 4 2,836 Jun-26-2022, 11:26 AM
Last Post: Larz60+
  Add package to pyenv base interpreter Larz60+ 1 1,822 Sep-11-2020, 11:58 AM
Last Post: mlieqo
  How to update pyenv pip version so that new virtualenv will use it Larz60+ 4 8,097 Aug-19-2018, 08:39 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020