forked from mapnik/mapnik
-
Notifications
You must be signed in to change notification settings - Fork 1
PolygonPatternSymbolizer
davidsvantesson edited this page Oct 16, 2012
·
6 revisions
parameter | value | default |
---|---|---|
file | path to image file | none |
width (removed) | px | 4 |
height (removed) | px | 4 |
type (removed) | png tiff | none |
FIXME: Add image
<PolygonPatternSymbolizer width="16" height="16" type="png" 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