On Tue, Aug 14, 2012 at 10:17 PM, Ákos Maróy <[email protected]> wrote:

> I see - indeed, this doesn't seem like an easy thing to do.
>
> an additional problem would be that the 'right neighbor' tile that gets
> just the end of a label from the 'left neighbor', well, how would that
> tile know what labels to render partially? should it look 'left' for
> some distance, and figure it out?
>

As I said, it's a global problem, there is no distance that will save you
from cut labels in the general case.
Just think of a horizontal set of points, close enough that their label
overlap. The label crossing tile borders N and N+1 depends on what the
labels
on tile N+1 on the right, which in turn depends on what happens in N+2,
and so on.

In order to know, in general, if a label will be drawn, you have to draw
all the labels
for the full extent of your data. If you are lucky you will find a hole
soon in the system
of label overlaps, and you can stop your search, if you are unlucky you
will have to
load a significant portion of the dataset. And there is no way to know in
advance
how large it's going to be, you learn how large you need it as you draw
more and
more labels in search of a void that stops you searching.

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 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to