[mapserver-users] Making labels appear less often on adjacent tiles

Adrian Popa adrian_gh.popa at romtelecom.ro
Wed Oct 14 08:45:07 EDT 2009


Thank you, Thomas,

That worked beautifully. I am curious, though - how does it work? I 
mean, the requests are independent and as far as I can see there is no 
"state" on the server telling him some request are part of a larger 
request. So, how can it know on which tile to show the label and on 
which tile not to show the label?

Thanks

Thomas Bonfort wrote:
> yes you can do that, by adding a PROCESSING "LABEL_NO_CLIP=ON" to the
> layers where you don't want repeated labels.
>
> regards,
>
> thomas
>
> www.camptocamp.com
> +33 5 16 57 01 02
>
>
>
> On Wed, Oct 14, 2009 at 13:29, Adrian Popa <adrian_gh.popa at romtelecom.ro> wrote:
>   
>> Hello everyone,
>>
>> I'm sure this subject has been discussed before, but I wasn't able to find
>> relevant information so far, so please point me in the right direction
>> please.
>>
>> I have switched to WMS and I am now getting several tiles from my mapserver
>> for one request (this is desired) (actually there are multiple WMS requests
>> for a specific area). I have no label clipping issues, so that's fine also.
>> The thing is, for example, if I zoom over a town and the town is split
>> between several tiles, I will get a label on each tile for the town name.
>> Previously, when I was requesting a large tile from my mapserver
>> (single-tile), this wouldn't happen.
>>
>> I don't want to set the label to "not be visible" below a certain
>> resolution, because that way I wouldn't get any labels below a point.
>>
>> So, my question is: Is it possible to show the label only once per feature,
>> not once per request? My guess is not (because I wouldn't know how to
>> implement it), but I'm curious if there's a solution...
>>
>> Regards,
>> Adrian
>>
>> --
>> --- Adrian Popa
>> NOC Division
>> Network Engineer
>> Divizia Centrul National de Operare Retea
>> Departament Transport IP & Metro
>> Compartiment IP Core & Backbone
>> Phone: +40 21 400 3099
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>     
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091014/661f8d5b/attachment-0001.html


More information about the mapserver-users mailing list