mapnik-org/mapnik — Issue #311: buffer parameter for PolygonSymbolizer
Author: artemp
Created: 2011-10-11 07:48:01+00:00
State: open
Labels: Symbolizers

This is similar to #71 and #180, but applied to PolygonSymbolizer (and PolygonPatternSymbolizer).

Simply put, a positive buffer value would make the polygon "bigger" by that value (i.e. the border of the polygon is offset X pixels outside the original polygon).

A negative buffer would make the polygon "smaller". It may even divide the polygon in several ones (think a hourglass shape and a big enough negative offset), or even "nullify" the polygon (if the negative buffer value is bigger than the diameter).