On Fri, Jun 29, 2012 at 6:41 AM, Anders Söderman <
[email protected]> wrote:

>   Hello – I´m editing 8 different polygonpatteringsymbols at once inside
> one single SVG file.
> All eight symbols within the SVG-file are needed when renderinging one
> Geoserver Layer (with 13 Scale- and 10 Areaintervals = 130 Rules)****
>
> ** **
>
> When trying to reach one of the SVG-symbols inside one of the SLD Rules
> the Layer Preview shows all symbols within the SVG file instead of the one
> specified in the    SVGsymbolGROUP.svg#symbol_01     filename.****
>
> ** **
>
> …****
>
>           <PolygonSymbolizer>
>              <Fill>
>                 <GraphicFill>
>                    <Graphic>
>                     <ExternalGraphic>
>                       <OnlineResource xlink:type="simple" xlink:href=
> "sgu/sld_test01/SVGsymbolGROUP.svg#symbol_01"/>
>                       <Format>image/svg+xml</Format>
>                     </ExternalGraphic>
>                     <Size>
>                       <ogc:Literal>80</ogc:Literal>
>                     </Size>
>                    </Graphic>
>                  </GraphicFill>
>              </Fill>****
>
> …****
>
> ** **
>
> Doesn´t SLD support the “SVG group  ID” syntax?
>

SLD standard wise I've never seen that syntax, so I don't believe it's
supposed to be supported.
GeoServer implementation surely does not, feel free to modify the code to
get it there
though, there is a single class named SVGGraphicFactory.java in the svg
module of GeoTools
that handles SVG icons

Cheers
Andrea

-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to