Hi everybody,
we are trying to hatch our polygons using GraphicFill, but using
alternating pattern ( every other hatching row begins with some offset
- half of the distance between two GraphicFill objects)
We managed to do it but its kind hacky, using 2 PolygonSymbolizers and
graphic-margin vendor option to achieve the effect.
The problem is that when one changes dpi:300, hatch is of course not
aligned anymore (and we dont want to create one additional style per
dpi and adjust graphic-margin values)
Does anyone know if this is possible to do without using this ugly hack?
Thank you,
Ivan
<sld:Rule>
<sld:PolygonSymbolizer>
<sld:Fill>
<sld:GraphicFill>
<sld:Graphic>
<sld:Mark>
<sld:WellKnownName>ttf://symbol#44</sld:WellKnownName>
...
</sld:Mark>
<sld:Size>9</sld:Size>
</sld:Graphic>
</sld:GraphicFill>
...
</sld:Fill>
<sld:VendorOption name="graphic-margin">1 12 12 1</sld:VendorOption>
</sld:PolygonSymbolizer>
<sld:PolygonSymbolizer>
<sld:Fill>
<sld:GraphicFill>
<sld:Graphic>
<sld:Mark>
<sld:WellKnownName>ttf://symbol#44</sld:WellKnownName>
...
</sld:Mark>
<sld:Size>9</sld:Size>
</sld:Graphic>
</sld:GraphicFill>
...
</sld:Fill>
<sld:VendorOption name="graphic-margin">12 1 1 12</sld:VendorOption>
</sld:PolygonSymbolizer>
</sld:Rule>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users