Mapserver will prevent label coliding by default unless you force it
to do otherwise. I suspect that in your case one of the layers is
either not using a labelcache, set to FORCE, or is a client WMS layer
for which your own mapserver has no control/knowledge of label
positions.

--
thomas

On 9 August 2016 at 14:06, Andrea Peri <aperi2...@gmail.com> wrote:
> Hi,
> I need to avoid the overlapping of labels between two layers.
>
> To do this I try to set the BUFFER option in both layers, but I see it
> seem don't work as I expected.
> Perhaps the buffer is working only for label of same layers ?
>
> This is a sample of actual overlapping:
>
> http://www502.regione.toscana.it/ows2/com.rt.wms.RTmap/wms?map=owscacciapesca&version=1.3.0&map_resolution=91&TRANSPARENT=true&LAYERS=rt_cacciapesca.sottoambito_atc_2015.rt%2Crt_cacciapesca.atc_2015.rt&STYLES=default%2Cdefault&CRS=EPSG%3A25832&SERVICE=WMS&REQUEST=GetMap&FORMAT=image%2Fpng&BBOX=672896.00367533,4847223.6202292,680026.94491189,4849534.2528872&WIDTH=824&HEIGHT=267
>
> In both layers I set:
>     LABELCACHE on
>    ...
>   LAYER
>    ...
>     CLASS
>      .....
>       LABEL
>         TEXT 'Sottoambito [sottoambit]'
>         TYPE TRUETYPE
>         BUFFER 5
>        ....
>
> Thx.
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to