On Fri, Mar 16, 2012 at 1:57 PM, Chris Haste <[email protected]> wrote:
> I may have spoken to soon!
>
>
>
> Yes, that does give me multiple lines for the label, but it appears to cause
> an issue with the positioning of that text within a shield.
>
>
>
> I’m using a square symbol in ‘stretch’ mode for the shield. The shield looks
> to be the correct size and shape hold the multi-line label but the label is
> not positioned correctly within the shield, it starts in the center of the
> shield and then overflows the bottom of the shield.
>
>
>
> Is this a known issue? Is there away to control (fine tune) the positioning
> of the text within the shield?

This may be a bug in the GeoTools labeller, when I implemented shield stretching
I did not try it out with multiline labels.
The classes to be fixed are in this package:

http://svn.osgeo.org/geotools/trunk/modules/library/render/src/main/java/org/geotools/renderer/label/

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to