artemp/mapnik — Issue #808: allow-overlap does not take transform="scale(..)" into account
Author: artemp
Created: 2011-10-11 16:37:28+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

}}}