PolygonPatternSymbolizer
Jez Nicholson edited this page Jan 23, 2018
·
9 revisions
Symbolizer that specifies rendering of an area enclosed by a polygon filling it with a repeated tiff, png, or svg image. An alternative to a PolygonSymbolizer.
parameter | value | default | accepts expressions |
---|---|---|---|
file | path to image file | none | mapnik >= 2.0 |
width (removed) | px | 4 | |
height (removed) | px | 4 | |
type (removed) | png tiff | none | |
comp-op | Compositing | none | no |
FIXME: Add image
<PolygonPatternSymbolizer file="/path/to/icon.png"/>
p = PolygonPatternSymbolizer('/path/to/icon.png','png',10,10) # file, type, width, height
mapnik2:
p = PolygonPatternSymbolizer(PathExpression('/path/to/icon.png'))
ruly_type rule;
rule.append(polygon_pattern_symbolizer("path/to/icon.png", "png", 20, 20)); // file, type, width, height