Limit of 1 label per polygon
Léveillé, James
James.Leveille at MTQ.GOUV.QC.CA
Fri Oct 6 05:52:35 PDT 2006
Hi,
I have a layer of polygons. How can I make sure I have only one label per
polygon ???
I know there is a MINDISTANCE tag - which probably add overhead for
calculation.
Is there another tag that might be faster ?
Thanks
Regards
Here is my layer :
# ==================================================
# Municipalité XYZ
# ==================================================
LAYER
NAME "municipalite"
PROJECTION
"init=epsg:42105"
END
METADATA
"wms_title" "Municipalité"
"wms_name" "Municipalité"
END
STATUS ON
DUMP TRUE
EXTENT 30000 75000 1700000 2120000
MAXSCALE 250000
MINSCALE 1
TYPE POLYGON
DATA "bgr_v_muncp_genrl_act/bgr_v_muncp_genrl_act"
LABELMAXSCALE 250000
LABELMINSCALE 1
CLASS
OUTLINECOLOR 137 175 137
TEXT ([NOM_MUNCP])
LABEL
TYPE TRUETYPE
FONT "arial"
SIZE 8
COLOR 137 175 137
OUTLINECOLOR 255 255 255
POSITION CC
END
END
END
__________________________________________
James Léveillé
Intélec Géomatique
420, boul. Charest Est
Bureau 400
Québec (QC), Canada
G1K 8M4
Intélec Géomatique: 418.687.5000
MTQ: 418.380.2005 (#227)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061006/7ef0c27a/attachment.htm>
More information about the MapServer-users
mailing list