Thanks Jonathan, and Andrea for your answers!
I think, I need to find some supporter person to fund this development for
graphic displacement, or work with svg graphics instead of ttf. :)

Regards:
Zsolt


2016-07-11 21:14 GMT+02:00 Andrea Aime <[email protected]>:

> 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
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to