You can definitely fill polygons with a texture. If you look under the
data_directory that comes with GeoServer there is an SLD file called
grass_poly.sld. Here is a snippit:
<PolygonSymbolizer>
                                                <Fill>
                                                        <GraphicFill>
                                                                <Graphic>
                                                                        
<ExternalGraphic>
                                                                                
<OnlineResource xlink:type="simple" xlink:href="grass_fill.png"/>
                                                                                
<Format>image/png</Format>
                                                                        
</ExternalGraphic>
                                                                        
<Opacity>
                                                                                
<ogc:Literal>1.0</ogc:Literal>
                                                                        
</Opacity>
                                                                        <Size>
                                                                                
<ogc:Literal>30</ogc:Literal>
                                                                        </Size>
                                                                        
<Rotation>
                                                                                
<ogc:Literal>0.5</ogc:Literal>
                                                                        
</Rotation>
                                                                </Graphic>
                                                        </GraphicFill>
                                                </Fill>

                                                <Stroke>
                                                        <CssParameter 
name="stroke">#FF0000</CssParameter>
                                                        <CssParameter 
name="stroke-width">1</CssParameter>
                                                </Stroke>
                                        </PolygonSymbolizer>

On 4/13/07, Andrea Antonello <[EMAIL PROTECTED]> wrote:
> Hi, I searched around in the docu, and it seems that there is no way to
> get geometries rendere with texture fill through sld.
> Is that the truth?
>
> Thanks,
> Andrea
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>


-- 
Brent Owens

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to