Hi Andrea,
while googling on how to make polygon fills with hatching, I found
your mail and the following page:
http://jira.codehaus.org/browse/GEOT-829.
I was able to create hatched polygons using Geoserver 1.6.3 and the
following SLD snippet:
<sld:PolygonSymbolizer>
<sld:Fill>
<sld:GraphicFill>
<sld:Graphic>
<sld:Mark>
<sld:WellKnownName>hatch</sld:WellKnownName>
<sld:Fill>
<sld:CssParameter
name="fill">#00FF00</sld:CssParameter>
</sld:Fill>
</sld:Mark>
</sld:Graphic>
</sld:GraphicFill>
</sld:Fill>
<sld:Stroke>
<sld:CssParameter name="Stroke">#000000</sld:CssParameter>
<sld:CssParameter name="Stroke-width">1</sld:CssParameter>
</sld:Stroke>
</sld:PolygonSymbolizer>
I haven't found out how to change stroke width and spacing (and
rotation other than multiples of 45 degrees) of the hatching, I don't
know if that is possible with this Mark...
Greetings,
Tobias
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users