mapnik-org/mapnik — Issue #806: allow-overlap does not take transform="scale(..)" into account
Author: artemp
Created: 2011-10-11 08:12:54+00:00
State: open
Labels: Symbolizers

When using SVG symbols it's possible to scale them using the transform-attribute of the PointSymbolizer. However the overlap-calculations seems to happen before the scale is applied.

I tested this with a symbol from the [http://www.sjjb.co.uk/mapicons/ sjjb set] with a size of 580x580 (see attachment). I used it like that:
{{{
#!xml

}}}

the scale reduces the actual size to ~16 Pixels, but the icon is only rendered in very rare cases. By setting allow-overlap, it can be verified that the icon would be rendered in the correct size, if the overlap-test would not fail:

{{{
#!xml

}}}