[OSM-talk] mapbook: a PDF map book creator

Paul Norman penorman at mac.com
Sat Feb 25 07:37:53 GMT 2012


I'd like to announce the release of version 0.01 of mapbook, a PDF map book
creator for mapnik generated maps. This is very much a development release
and is missing what I view to be important features.

mapbook can be found at https://github.com/pnorman/mapbook

Features:
It uses Mapnik's AGG-based renderer and should take any mapnik .xml file
Adjustable resolution and paper size
Uninteresting map pages may be skipped and omitted
Has not exploded

Dependencies
Mapnik2 (may work with older versions with minor code tweaks)
Python >= 2.6
Cairo, pycairo
Pango
Pangocairo

Notes:

The user is responsible for inserting an appropriate copyright page for the
map they are using
Printing high-DPI maps can be both time and toner intensive

Upcoming features: 
An index page feature for an overview of the area
Headings
The ability to tweak a specific page to expose the map under the border
Cleaner code?
A license for the code?
A scale bar

Known issues:
Adjusting --firstpage and --blankfirst is confusing
Some stylesheets use images for icons which do not work well at different
resolutions (e.g. osm.org mapnik). Using an alternate style which uses svg
icons (e.g. mapquest open) is suggested.




More information about the talk mailing list