Yup, looks like the same advice, only his is more concise and authoritative.
:)

 

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 5:07 PM
To: [email protected]; [email protected]
Subject: Re: [Geoserver-users] Fwd: SLD - Hashed Polygon with background
color

 

Thanks Steve

In parallel on geotools user list, I received an answer by Andrea Aime.
Here below, I forward now his answer.

I will try with your indications as well.

Best,
Emmanuel





On Mon, Mar 26, 2012 at 9:14 PM, Emmanuel Blondel
<[email protected]> wrote:

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

 

Use two polygon symbolizers in a row in the same rule, the first only solid
fill, the second applying the hatch fill

 

Cheers

Andrea

 



Le 26/03/2012 22:54, Stephen V. Mather a écrit : 

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