Hi Daniel,
 
I'm no expert in SLD, but have you tried using 2 PointSymbolizer ?
 
That's what I'm doing (with lines) and it works great ...
 
 
 
                    <LineSymbolizer>
                        <Geometry>
                            <PropertyName>center-line</PropertyName>
                        </Geometry>
                        <Stroke>
                            <CssParameter
name="stroke">#000000</CssParameter>
                            <CssParameter
name="stroke-width">7.0</CssParameter>
                        </Stroke>
                    </LineSymbolizer>
                    <LineSymbolizer>
                        <Geometry>
                            <PropertyName>center-line</PropertyName>
                        </Geometry>
                        <Stroke>
                            <CssParameter
name="stroke">#009432</CssParameter>
                            <CssParameter
name="stroke-width">5.0</CssParameter>
                        </Stroke>
                    </LineSymbolizer>

 
 
 
 
 

______________________________________________________

JAMES LÉVEILLÉ
Service des systèmes de Mission
Direction des technologies de l'information
Ministère des Transports du Québec

5833, boul. Pierre-Bertrand, 2ième étage
Québec (Québec) G2K 1K7
Téléphone:   (418) 380-2005 poste 227
Télécopieur: (418) 644-6653
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 


 

        -----Message d'origine-----
        De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Daniel
Degasperi
        Envoyé : 12 novembre 2008 10:36
        À : [email protected]
        Objet : [mapserver-users] SLD not rendered correctly
        
        
        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
        -----------------------------

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

Reply via email to