On 03/30/2011 06:18 PM, Gis Mage wrote:
Hello!I'm doing a pretty strict cartographic map. 1. How can I create a LineSymbolizer, which will produce two parallel dash lines with 1 px hollow in between?
I tried with the WKT renderer I made (not yet merged into trunk though, see http://jira.codehaus.org/browse/GEOT-3058) and, well, the result is far from perfect (basically it cannot handle acute angles, see attached image) but rather easy to achieve with a LineSymbolizer like:
<LineSymbolizer>
<Stroke>
<GraphicStroke>
<Graphic>
<Mark>
<WellKnownName>wkt://MULTILINESTRING((-0.25 -0.25, -0.125
-0.25), (0.125 -0.25, 0.25 -0.25), (-0.25 0.25, -0.125 0.25), (0.125 0.25, 0.25
0.25))</WellKnownName>
<Fill>
<CssParameter name="fill">#0000ff</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#0000ff</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</Stroke>
</Mark>
<Size>6</Size>
</Graphic>
</GraphicStroke>
</Stroke>
</LineSymbolizer>
Regards,
Luca Morandini
http://www.lucamorandini.it
<<attachment: wkt-hollowline.png>>
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
