[Geoserver-devel] SLD 1.1.0 Graphic > PointPlacement support?

Hello,

I'm trying to offset and rotate a graphic on my point symbolizer, which
I beleive I can do with SLD 1.1, but it doesn't seem to render on my map
as such. Below is the SLD - can anyone let me know if this is actuallly
supported, or if I need another approach?

Thanks,
Mark

<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.1"
    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>Point as graphic</Name>
        <UserStyle>
            <Title>GeoServer SLD Cook Book: Point as graphic</Title>
            <FeatureTypeStyle>
                <Rule>
                    <PointSymbolizer>
                        <Graphic>
                            <ExternalGraphic>
                                <OnlineResource xlink:type="simple"
                                   
xlink:href="http://localhost/app/resources/images/arrow-long.png&quot; />
                                <Format>image/png</Format>
                            </ExternalGraphic>
                            <Size>32</Size>
                           
<Rotation><ogc:PropertyName>azimuth</ogc:PropertyName></Rotation>
                            <PointPlacement>
                                <Displacement>
                                    <DisplacementX>32</DisplacementX>
                                    <DisplacementY>50</DisplacementY>
                                </Displacement>
                            </PointPlacement>
                        </Graphic>
                    </PointSymbolizer>
                </Rule>
            </FeatureTypeStyle>
        </UserStyle>
    </NamedLayer>
</StyledLayerDescriptor>

On Fri, Oct 12, 2012 at 1:59 PM, Mark Paxton <mark@anonymised.com> wrote:

Hello,

I’m trying to offset and rotate a graphic on my point symbolizer, which
I beleive I can do with SLD 1.1, but it doesn’t seem to render on my map
as such. Below is the SLD - can anyone let me know if this is actuallly
supported, or if I need another approach?

No SLD 1.1 feature that is not also part of SLD 1.0 is supported.
There is no alternative approach for what you’re trying to achieve.

Volunteer to code up the extra SLD 1.1 or funding to have a core dev implement
it welcomed :slight_smile:

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it