Hi Victor,

just split it into 2 rules: one for the graphic and one for the text label.

Then you can use different displacement in each of them.

Cheers,

Peter


On 25. 7. 2016 12:00, Victor.Sinceac wrote:
> Hi All,
>
> In a SLD rule, I need to use a <TextSymbolizer> with both <Label> and 
> <Graphic> elements (something similar to Highways Shields use case):
> <Rule>
> <TextSymbolizer>
> <Label> ...  </Label>
> <Fill> ...  </Fill>
> <Halo> ... </Halo>
>              <Graphic><Mark><WellKnownName> ... </WellKnownName><Fill> ... 
> </Fill></Mark> <Size> ... </Size></Graphic>
> </TextSymbolizer>
> </Rule>
>
> This works well when the requirement is to get the same position X,Y for both 
> Graphic and Label elements.
> If I had well understood, the <LabelPlacement>  element in such a rule would 
> apply to both elements Label and Graphic.
> Is it possible to define in such a rule a displacement which would only apply 
> to the element Label?
>
> Thanks,
> Victor
> ________________________________
> This message is subject to and does not create or vary any contractual 
> relationship between Campbell Scientific Limited, its subsidiaries or 
> affiliates ("CSL") and you. Internet communications are not secure and 
> therefore CSL does not accept legal responsibility for the contents of this 
> message. The message is intended for the addressee only and its contents and 
> any attached files are strictly confidential. If you have received it in 
> error, please telephone +44 (0)1509 601141 or email 
> postmas...@campbellsci.co.uk. Thank you.
> Campbell Scientific Ltd.
> Company Registration Number: 1933935 (England and Wales) Registered Address: 
> Campbell Park, 80 Hathern Road, Shepshed, Loughborough, Leicestershire LE12 
> 9GX, UK
> Tel: +44 (0) 1509 601141
> Fax: +44 (0) 1509 601091
> Web: www.campbellsci.co.uk
>
> ________________________________
>
> ------------------------------------------------------------------------------
> 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
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Peter Kovac
IMS Programmer
MicroStep-MIS
peter.ko...@microstep-mis.com


------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to