Show labels at all scales
Pablo Rodríguez Madroño
prodriguez at ADASASISTEMAS.COM
Thu Mar 15 09:12:03 PDT 2007
Hello,
This is my first message on the list. I hope I can help a bit...
You can use the layer attributes LABELMINSCALE and LABELMAXSCALE, as well as the label attributes FORCE and POSITION.
You can find more info at:
http://mapserver.gis.umn.edu/docs/reference/mapfile/layer
http://mapserver.gis.umn.edu/docs/reference/mapfile/label
Bye,
Pablo Rodríguez Madroño
División de Sistemas de Información
ADASA Sistemas
93.264.06.02
600.92.65.10
_____
De: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] En nombre de Chris Beaart
Enviado el: jueves, 15 de marzo de 2007 17:06
Para: MAPSERVER-USERS at LISTS.UMN.EDU
Asunto: [UMN_MAPSERVER-USERS] Show labels at all scales
Hello,
I have added a layer in my mapfile, just like below. The labels only appear when completely zoomed out. Can somebody solve this problem? The next question is how to show the labels between scale 1:500 - 1:2000. How can I realize this.
Thanks,
Chris Beaart.
LAYER
NAME Huisnummers
DATA Huisnummers
STATUS DEFAULT
TYPE POINT
METADATA
"DESCRIPTION" "Huisnummers"
END # Metadata
LABELITEM 'TxtValue'
CLASS
LABEL
FORCE true
COLOR 0 0 0
SIZE small
POSITION cc
END #label
NAME "Huisnummers"
STYLE
#OUTLINECOLOR 0 0 0
END
END
END #layer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070315/8018c536/attachment.htm>
More information about the MapServer-users
mailing list