I'm using Geoserver 2.6.2. I need to use a SVG file as an external graphic
to style a points layer. When I open the WMS layer in QGIS, the points are
not displayed. This is not happening if I use a PNG file.

Here is an extract of my SLD code:

    <PointSymbolizer>
      <Graphic>
        <ExternalGraphic>
          <OnlineResource xlink:type="simple" xlink:href="
http://myserver/img/mySymbol.svg"/>
          <Format>image/svg+xml</Format>
        </ExternalGraphic>
        <Size>40</Size>
      </Graphic>
    </PointSymbolizer>

I'm wondering why the image format has to be svg+xml.

Is an additional XML file needed?
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to