Hi Andrea,
Thanks for the clarification. In that case the followLine=false would be
optimal for our use-case scenario (and in practice it seems to be too).
I updated the docs with this straight-line behaviour as a note.
Cheers,
Jonathan
On 5 August 2013 11:14, Andrea Aime <[email protected]> wrote:
> 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
>
> -------------------------------------------------------
>
--
This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
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