Hello,

the attached SLD should render a point layer with an outlinecolor (see stroke), unfortunately the stroke-color seems to overwrite the fill color. Images are attached. withoutsld.png would be the expected result, withsld.png is the actual result.
Can anybody help me?

I'm using MapServer 5.0.3 on Centos5 and the render client is OpenLayers.

These tickets could be related:

   * http://trac.osgeo.org/mapserver/ticket/1887
   * http://trac.osgeo.org/mapserver/ticket/2548


Regards, Daniel

--
 Daniel Degasperi
 Software Developer
 [EMAIL PROTECTED]
---------------------------
 R3 GIS Srl
 Via Johann Kravogl 2
 I-39010 Merano - Sinigo (BZ)
 Tel. +39 0473 494949
 Fax. +39 0473 069902
 Web  http://www.r3-gis.com
-----------------------------

<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld"; xmlns:gml="http://www.opengis.net/gml"; xmlns:ogc="http://www.opengis.net/ogc"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.opengis.net/sld http://ogc.dmsolutions.ca/sld/1.0.0/StyledLayerDescriptor.xsd";>
<NamedLayer>
<Name>tree</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<Name>IT:Pianta|DE:Pflanze</Name>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
    <CssParameter name="fill">#00c800</CssParameter>
</Fill>
<Stroke>
    <CssParameter name="stroke">#006400</CssParameter>
    <CssParameter name="stroke-width">2.0</CssParameter>
</Stroke>
</Mark>
<Size>5</Size>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

<<inline: withoutsld.png>>

<<inline: withsld.png>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to