3.2.2. Non-core

The following plugins used to be part of the mapnik source, but have been moved to an extra repository as they are either no longer maintained, or still experimental. These are usually not part of a standard Mapnik installation.

Geos
Table 12. Geos data source parameters
Parameter Type Default Description

encoding

string

utf-8

extent

field_data

field_name

gid

wkt

See also:

Kismet

An experimental plugin that reads WLAN location informatin from a Kismet instance.

Table 13. Kismet data source parameters
Parameter Type Default Description

encoding

string

utf-8

Text encoding

extent

host

string

none

Kinsmet server name or IP address

port

int

2501

Port that the Kismet process is listening on

srs

string

See also:

OCCI
Table 14. OCCI data source parameters
Parameter Type Default Description

encoding

estimate_extent

extent

fields

geometry_field

host

initial_size

max_size

password

row_limit

row_prefetch

srid

table

use_connection_pool

user

use_spatial_index

use_wkb

OSM

The OSM plugin is no longer maintained as the OGR plugin can read OSM data now, too, and unlike the OSM plugin not only supports the OSM XML format, but also the more compact PBF format. So the old OSM plugin is no longer considered a core plugin now.

Table 15. OSM data source parameters
Parameter Type Default Description

bbox

4xfloat

none

no longer supported, see also url

encoding

string

utf-8

Encoding of text fields in the data file

file

file path

OSM XML data file to read

parser

string

libxml

So far libxml is the only possible choice here

url

string

none

Fetching OSM data from an API url was discontinued in Mapnik v2.3

Python

The experimental python plugin allows for writing data sources using custom Python code.

Table 16. Python data source parameters
Parameter Type Default Description

encoding

string

utf8

Text encoding used

factory

string

none

A Python callable that impmlements a data source

See also:

Rasterlite
Table 17. Rasterlite data source parameters
Parameter Type Default Description

base

string

none

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

file

table