[Geoserver-users] SVG for symbology encoding

Does Geoserver support SVG for symbology encoding?

<ExternalGraphic>

    I want to use SVG here
    <OnlineResource
xlink:href="file:///D:/work/PRJ_Library/Symbol/test/symbols/sym1.svg"/>
    <Format>image/svg+xml</Format>

  </ExternalGraphic>

--
View this message in context: http://www.nabble.com/SVG-for-symbology-encoding-tf4514346.html#a12875939
Sent from the GeoServer - User mailing list archive at Nabble.com.

varyag ha scritto:

Does Geoserver support SVG for symbology encoding?

<ExternalGraphic>

    I want to use SVG here
    <OnlineResource
xlink:href="file:///D:/work/PRJ_Library/Symbol/test/symbols/sym1.svg"/>
    <Format>image/svg+xml</Format>

Yes, it should support it, but it's not very well tested.
Do you have problems with it, any sample that we can use to check?
And oh, btw, which version of GeoServer are you using?

Cheers
Andrea

<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.0.0"
  xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
  xmlns="http://www.opengis.net/sld&quot; xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:xlink="http://www.w3.org/1999/xlink&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
<NamedLayer> <Name> poi </Name>
    <UserStyle>
        <FeatureTypeStyle>
            <Rule>
      <PointSymbolizer>
        <Graphic>
      <ExternalGraphic>
  <OnlineResource
xlink:href="file:///D:/work/PRJ_Library/Symbol/test/symbols/sym1.svg"/>
<Format>image/svg</Format>
  </ExternalGraphic>
      <Size>11</Size>
        </Graphic>
    </PointSymbolizer>
            </Rule>
        </FeatureTypeStyle>
    </UserStyle>
    </NamedLayer>
</StyledLayerDescriptor>

this is a full definition SLD. I have problems with it. Geoserver 1.5.1.

--
View this message in context: http://www.nabble.com/SVG-for-symbology-encoding-tf4514346.html#a13128750
Sent from the GeoServer - User mailing list archive at Nabble.com.

varyag ha scritto:

<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:xlink="http://www.w3.org/1999/xlink&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
<NamedLayer> <Name> poi </Name>
    <UserStyle>
        <FeatureTypeStyle>
            <Rule> <PointSymbolizer>
        <Graphic>
      <ExternalGraphic>
  <OnlineResource
xlink:href="file:///D:/work/PRJ_Library/Symbol/test/symbols/sym1.svg"/>
<Format>image/svg</Format>
  </ExternalGraphic>
      <Size>11</Size>
        </Graphic>
    </PointSymbolizer>
            </Rule>
        </FeatureTypeStyle>
    </UserStyle>
    </NamedLayer>
</StyledLayerDescriptor>

this is a full definition SLD. I have problems with it. Geoserver 1.5.1.

I believe you're experiencing http://jira.codehaus.org/browse/GEOS-1396,
but without more info I cannot be sure.

Cheers
Andrea

Thank you very much
--
View this message in context: http://www.nabble.com/SVG-for-symbology-encoding-tf4514346.html#a13225841
Sent from the GeoServer - User mailing list archive at Nabble.com.