Is there anyway to label a polygon once? One feature one label. I am using Mapserver 5.4.1. Image below shows the problem, there seem to be 4 labels in each township polygon.

        LAYER
                NAME "Townships"
                PROJECTION
                        "proj=longlat"
                        "ellps=GRS80"
                        "datum=NAD83"
                        "no_defs"
                END
                DATA townships_poly
                TYPE POLYGON
                TEMPLATE "dummy"
                LABELITEM twprng
                STATUS ON
                CLASS
                        MAXSCALEDENOM 450000
                        MINSCALEDENOM 40000
                        NAME "Townships"
                        STYLE
                                SYMBOL 'circle_shortlong_dash'
                                SIZE 1
                                OUTLINECOLOR 125 125 125
                        END
                        LABEL
                                FONT helveticabold
                                TYPE TRUETYPE
                                SIZE 10
                                COLOR 125 125 125
                                OUTLINECOLOR 251 239 136
                                POSITION auto
                        END
                END
        END

<<inline: sample.gif>>


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to