You might want to try a Geosever 2.8 or earlier... I am not sure it will
help, but at least it is a supported version
Cheers
Andrea
Il 07 lug 2016 16:36, "wiltomap" <[email protected]> ha scritto:
> I'm using Geoserver 2.6.
>
> I was wondering if it was possible de specify the anchor point for a symbol
> other than the exact center of the symbol.
>
> Here a piece of SLD file:
>
> <Rule>
> <PointSymbolizer>
> <Graphic>
> <ExternalGraphic>
> <OnlineResource xlink:type="simple"
> xlink:href="http://mywebsite.fr/img/test.png"/>
> <Format>image/png</Format>
> </ExternalGraphic>
> </Graphic>
> </PointSymbolizer>
> </Rule>
>
> Here is what I'd like to achieve (red dot = anchor point):
>
> <http://osgeo-org.1560.x6.nabble.com/file/n5275180/anchor_point.png>
>
>
> The doc <http://
>
> http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html
> >
> says this:
>
> > Graphic symbols are rendered so that the center of the graphic extent
> lies
> > on the placement point (or points, in the case of repeated or tiled
> > graphics). If it is desired to have a graphic offset from a point (such
> as
> > a symbol which acts as a pointer) it is necessary to offset the visible
> > portion of the graphic within the overall extent. For images this can be
> > accomplished by extending the image with transparent pixels. For SVG
> > graphics this can be done by surrounding the shape with an invisible
> > rectangle with the desired relative position.
>
> I tried it out but this does not do the job... It seems that the invisible
> rectangle I positioned around the shape is ignored.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Is-it-possible-to-change-a-symbol-s-default-anchor-point-in-Geoserver-SLD-tp5275180.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users