[mapserver-users] duplicate labels
Christy Nieman
cnieman at dmsolutions.ca
Thu Jul 23 08:24:27 PDT 2009
Hi,
(I don't remember if this has been asked yet or not, but...) does your
OpenLayers application use tiles? Is it possible the duplicate labels
are actually on separate tiles? If so, you can try setting OpenLayers
to single tile mode to see if this is indeed the problem. Then you can
try defining PROCESSING 'LABEL_NO_CLIP=1' for the layer.
Christy
Andy Colson wrote:
>> Lars Lingner wrote:
>>> One last thought: Do you have this problem just with the layer
>>> "annotate_pin"? Does the labeling of other layers work as you expect?
>>
>> Hum... good question. I'll try it Monday when I get back to work.
>> Thanks for the help on this.
>>
>> -Andy
>>
>
> Ok, took longer than I thought to get back to this, but I've tried it
> with the roads layer and still cannot adjust the distance between labels.
>
> here is a screen shot:
>
> http://maps.camavision.com/map2.png
>
> I've changed MINDISTANCE from 9 to 900000, and the image stays the
> same... the labels don't move.
>
> If I set the layer.sizeunits to feet, then the font size scales with
> the image as I zoom in and out... I assume the font size is being set
> to 7 feet instead of 7 pixels? (I have label.size = 7). But still,
> the mindistance seems to make no difference.
>
> Also, some of the labels are being messed up, in the screen shot you
> can see it. And the road didnt get draw right either.
>
> hum... it occurs to me... I dont know how many different lines were
> used to draw 110th st. If they used multiple lines, would I get a
> label for each line? Casper seemed to get one label.
>
> -Andy
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list