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?

 

 

This is the SVG code for one of the SVG symbols inside the SVG file.

…

<style>       g { display: none }      g:target { display: inline }
</style>  

  <g

     id="symbol_01">

    <image

       y="300"

       x="150"

       id="image12"

       height="200"

       width="200"

       xlink:href="SVGsymbolGROUP.svg" />

    <rect

       y="0"

       x="0"

       height="500"

       width="500"

       id="rect2819"

       style="fill:none;stroke:none" />

  </g>

…  

 

Geoserver 2.2-beta2  Ubuntu 11.4 //Regards Anders Söderman

------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to