3.1. Map

This is the top level tag / object in a mapnik setup, it defines the map extent and global parameters / defaults.

TODO: contains …​

Table 1. Map Attributes
Attribute Type Default Description

base

string

none

name of a <FileSource> to find the input file in

background-color

color

transparent

background-image

file path

none

background-image-comp-op

SVG composition

none

background-image-opacity

float

1.0

srs

SRS string

epsg:4326

buffer-size

int

0

also render features this many pixels outside of the map area

maximum-extent

4xfloat

font-directory

directory path

none

minimum-version

version string

none