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

> Hi,
>
> I'm using SLD to style an OSM PostGIS database, and I bumped into an
> issue, when using this map via WMS.
>
> It seems that labels that would extend beyond a certain tile rendered
> for WMS are simply omitted. this has the effect that at some zoom
> levels, the label is not visible, while at other zoom levels, where the
> same label fits into the tile rendered for it, it is visible.
>
> is there any way to allow a seamless rendering of labels, that would
> include rendering some part on one tile, and the rest on the neighboring
> tile?
>

Generally speaking this is impossible. There is in fact no way to know if
the other
part of the label is going to get drawn, because that depends on the label
contents of the other tile, its label priorities and displacement options

If you are 100% sure that the other labels is always going to be labelled
then you could try to add a new vendor option "allowPartials" that makes
the renderer draw cut labels in the hope that the other part will be drawn
in the nearby tiles (which in turn depend on their nearby tiles and so on,
making the labelling problem a global one, and thus incompatible with
the piecemeal nature of tiled requests).

Which is something that can actually be achieved if you lay out the label
placement points by hand and for each zoom level on a global basis... if
instead you rely on automatic placement, that's quite unlikely to work for
all labels.

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