On Mon, Aug 5, 2013 at 12:09 PM, Jonathan Moules <
[email protected]> wrote:
> However, even with followLine=false, the text still follows the line and
> doesn't disappear. But again, my use-case is lines that are designed for
> text. Not sure if that'll do it for you.
>
The default behavior with a LinePlacement is to put the text tangent to the
line, at this point we don't need the line anymore, we already have the
direction.
With followLine we actually follow the line shape, curving along it, so we
need a line to follow, if it's not long enough, we cannot place the label.
As an improvement, we could simply expand the line along the tangent to its
begin and end segments, but we don't have the code to do that right now.
Not even sure it's desirable, if a line is too short to contain its name,
better leave it not labelled imho, otherwise we might end up having
super-small
lines being drawn and their label sucking a lot of space and preventing
longer lines to be labelled (the moment we go out of the line the chance of
collisions increases a lot)
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
-------------------------------------------------------
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users