My fault, sorry...
was missing the xmlns:xlink="http://www.w3.org/1999/xlink";

It worked very well.

Andrea


Andrea Antonello probaly wrote:
> I get the following error:
> 
> java.lang.RuntimeException: org.xml.sax.SAXParseException: The prefix
> "xlink" for attribute "xlink:href" associated with an element type
> "sld:OnlineResource" is not bound.
> 
> For this I'm using a 2.3.1 snapshot geotools version.
> Is it a version problem?
> 
> Andrea
> 
> 
> Brent Owens probaly wrote:
>> 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
>>>
>>
> 
> -------------------------------------------------------------------------
> 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
> 

-------------------------------------------------------------------------
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