Hi Emmanuel,

                Someone will correct me if I'm wrong, but I believe you can
stack your graphic fills, i.e. put the yellow fill, then the hashed fill in
separate symbolizes within the polygon symbolizer.  The first entry goes
"below" in the rendering sequence.

 

Best,

Steve

 

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

[email protected]
 <http://www.clemetparks.com/> clevelandmetroparks.com

 

 

 

 

From: Emmanuel Blondel [mailto:[email protected]] 
Sent: Monday, March 26, 2012 3:16 PM
To: [email protected]
Subject: [Geoserver-users] Fwd: SLD - Hashed Polygon with background color

 


Dear all,

I am applying an hashed style to a polygon with the SLD rule below. However,
for the SLD rule, I need to apply a background color, i.e. polygon filled in
yellow + hashed above in green.
Is it doable? Thanks in advance

<PolygonSymbolizer>
              <Fill>
                     <GraphicFill>
                          <Graphic>
                                <Mark>
 
<WellKnownName>shape://slash</WellKnownName>   
                                      <Stroke>
                                        <CssParameter
name="stroke">#38A800</CssParameter>
                                        <CssParameter
name="stroke-width">2</CssParameter>
                                       </Stroke>
                                </Mark>
                               <Size>7</Size>
                         </Graphic>
                   </GraphicFill>
             </Fill>
             <Stroke>
                        <CssParameter name="stroke">#686868</CssParameter>
                        <CssParameter name="stroke-width">0.5</CssParameter>
             </Stroke>  
   </PolygonSymbolizer>



<<image001.png>>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to