[mapserver-users] Avoid label overlaps

Andrea Peri aperi2007 at gmail.com
Mon Jun 25 15:17:05 PDT 2012


Hi Steve, sorry for very late response,
I was take from another serious bug on the operating system of my server.

About the overlap label question:
Seem I was able to resolve the question about label overlaps. :)

>explicitly put it in the mapfile. Make sure you do not have FORCE ON on
>any of your LABEL blocks as this make that label blind to the label
>cache mechanism.

As you suggest the problem was due to a FORCE ON command.

Thx again for your hint.

Andrea.


2012/6/25 Stephen Woodbridge <woodbri at swoodbridge.com>

> Andrea,
>
> Did you get this resolved?
> Did you open a bug for it? What number?
>
> We are starting the 6.2 release cycle and if this is an issue we need to
> get it fixed.
>
> Thanks,
>  -Steve W
>
>
> On 6/24/2012 3:53 PM, Stephen Woodbridge wrote:
>
>> Andrea,
>>
>> This is the way mapserver should work, so it sounds like a bug in trunk.
>> LABELCACHE ON shoudl be the default case and you do not need to
>> explicitly put it in the mapfile. Make sure you do not have FORCE ON on
>> any of your LABEL blocks as this make that label blind to the label
>> cache mechanism.
>>
>> Ideally if you can make a trival mapfile that reproduces this and
>> include it in a bug, I'm sure someone will resolve it quickly.
>>
>> -Steve W
>>
>> On 6/24/2012 3:37 PM, Andrea Peri wrote:
>>
>>> Hi,
>>>
>>> Is possible to force mapserver to avoid the overlaps of label of
>>> distinct layers ?
>>> I need to avoid the overlaps of all the label of the view.
>>>
>>> To have this
>>> I try to define the
>>>
>>>    LABELCACHE ON
>>> on every layer
>>> and also
>>>    POSITION AUTO
>>> and
>>>   BUFFER 10
>>>
>>> but always I'm having some label of layer-A overlap other labels of
>>> layer-B.
>>>
>>> There is something I forgot ?
>>>
>>> I'm using the mapserver trunk version.
>>>
>>> Thx,
>>>
>>> --
>>> -----------------
>>> Andrea Peri
>>> . . . . . . . . .
>>> qwerty àèìòù
>>> -----------------
>>>
>>>
>>>
>>> ______________________________**_________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
>>> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>>>
>>>
>>
>> ______________________________**_________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
>> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>>
>
>
> ______________________________**_________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120626/07563a6d/attachment.html>


More information about the mapserver-users mailing list