artemp/mapnik — Issue #450: Polygon filling does not preserve holes
Author: artemp
Created: 2011-10-11 16:19:36+00:00
State: open
Labels: Core_Library

Testcase attached, includes actual and expected output and sample data/xml.

Mapnik does not preserve polygons or multi-polygons with holes in all cases. Rather it appears that Mapnik's AGG and Cairo renderers fill holes, which would not be the expected behavior.

Resources:
http://www.cairographics.org/manual/cairo-context.html#cairo-fill-rule-t
http://geojson.org/geojson-spec.html#id4