[mapserver-users] label display stops abruptly

Thomas Bonfort thomas.bonfort at camptocamp.com
Mon Apr 6 13:42:52 EDT 2009


LABEL_NO_CLIP is so that labels aren't repeated on each tile.

what you want here is PARTIALS FALSE in each of your label blocks

--
thomas

On Mon, Apr 6, 2009 at 7:29 PM, Brent Fraser <bfraser at geoanalytic.com> wrote:
> Looking at the screen capture (at Nabble
> http://n2.nabble.com/label-display-stops-abruptly-td2585479.html#a2585479),
> it could be the classic tile-clipping-labels problem.  Is the solution to
> add
>  PROCESSING "LABEL_NO_CLIP=True"
> before the LABEL definition?
>
> Brent Fraser
>
>
> Steve Lime wrote:
>>
>> Hi Pradeep: You didn't attach the graphic, plus we need to know more about
>> the data and MapServer
>> version to do much.
>>
>> Steve
>>
>>>>> On 4/4/2009 at 10:53 AM, in message
>>>>> <1238860430468-2585479.post at n2.nabble.com>,
>>
>> new2ms4w <nagal005 at umn.edu> wrote:
>>
>>> Hi,
>>>
>>> I display some roads on a map along with the names of the roads as
>>> labels. The label display has a minor problem. Sometimes the name of the
>>> label is only displayed partially. I don't know why.
>>>
>>> Here is a screen-shot of the problem. I've circled in red where the
>>> labels are not displaying properly.
>>>
>>>
>>>
>>>
>>> ------------------------------------
>>> And the mapfile code which deals with label display is here:
>>>
>>> LABELCACHE on
>>> LABEL
>>>        TYPE truetype
>>>        FONT "arial"
>>>        SIZE 8
>>>        OUTLINECOLOR 255 255 255
>>>        COLOR 0 0 0
>>>        POSITION lc
>>>        MINDISTANCE 100
>>>        MINFEATURESIZE auto
>>>        ANGLE auto
>>>        #WRAP \' \'
>>>  END #end label
>>>
>>> Can someone tell me what am I missing here.
>>>
>>> Thanks,
>>> Pradeep
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
www.camptocamp.com
+33 4 79 26 57 97


More information about the mapserver-users mailing list