This is rather a simple and dumb question I’ve been playing a lot with SLD but one thing i haven’t been able to solve yet is the correct display of labels (in points) in a tiled WMS request. I think this is related with the tile - if the label crosses the margin of the tile then it is not displayed. So, in my case, some points are showing labels and some others are not. Is there any way to force label drawing? Something that would place the label in the opposite side if label is crossing the tile margin?
Instead of a Tiled WMS, can you use a cached layer (e.g. TMS or WMTS) instead? A typical tiling engine such as GeoWebCache allow you to create a larger meta-tile that is cut into 256*256 pixel tiles afterwards. This reduces the number of labels not being placed. They’re still cut off at the tile edge, but continue on the neighbouring tile!
This is rather a simple and dumb question I’ve been playing a lot with SLD but one thing i haven’t been able to solve yet is the correct display of labels (in points) in a tiled WMS request. I think this is related with the tile - if the label crosses the margin of the tile then it is not displayed. So, in my case, some points are showing labels and some others are not. Is there any way to force label drawing? Something that would place the label in the opposite side if label is crossing the tile margin?
On Fri, Sep 27, 2013 at 12:28 PM, Hugo <hfpmartins@anonymised.com> wrote:
Hello all,
This is rather a simple and dumb question I've been playing a lot with
SLD but one thing i haven't been able to solve yet is the correct display
of labels (in points) in a tiled WMS request. I think this is related with
the tile - if the label crosses the margin of the tile then it is not
displayed. So, in my case, some points are showing labels and some others
are not. Is there any way to force label drawing? Something that would
place the label in the opposite side if label is crossing the tile margin?
No, it's not possible, because there is no guarantee the other part of the
label will actually be drawn
in the nearby tile due to conflict resolution. Search the archives and the
internet, the topic has
been discussed to the death
A partial solution is to use a tile cache (the integrated GWC for example ) and pump up the
metatiling factor to a large value, e.g. 10
Thanks for your answers. I know that this was discussed several times but i just wanted to be sure that this is still the case. In my current case i can’t use cache so i’ll live with the missing labels
This is rather a simple and dumb question I’ve been playing a lot with SLD but one thing i haven’t been able to solve yet is the correct display of labels (in points) in a tiled WMS request. I think this is related with the tile - if the label crosses the margin of the tile then it is not displayed. So, in my case, some points are showing labels and some others are not. Is there any way to force label drawing? Something that would place the label in the opposite side if label is crossing the tile margin?
No, it’s not possible, because there is no guarantee the other part of the label will actually be drawn
in the nearby tile due to conflict resolution. Search the archives and the internet, the topic has
been discussed to the death
A partial solution is to use a tile cache (the integrated GWC for example ) and pump up the
metatiling factor to a large value, e.g. 10
On Fri, Sep 27, 2013 at 12:37 PM, Hugo <hfpmartins@anonymised.com> wrote:
Hi guys,
Thanks for your answers. I know that this was discussed several times but
i just wanted to be sure that this is still the case. In my current case i
can't use cache so i'll live with the missing labels
Unless our understanding of the problem is wrong, it will always be the
case, the answer won't change over time, it's in the very nature of mixing
tiling and conflict resolution.