[mapserver-users] about label in mapfile

王连波 happyforev1 at gmail.com
Wed Jan 6 04:32:11 EST 2010


Hi all,
I configured my mapfile with label as follows:
        labelitem "name"
        CLASS
        NAME    "river"
           STYLE
           color 0 200 0
           width 3
           END

            label
            angle auto
            COLOR 0 255 0
            SHADOWCOLOR 218 0 0
            SHADOWSIZE 1 1
            TYPE truetype
            encoding GB2312
            font simsun
            SIZE 10
            POSITION auto
            PARTIALS FALSE
         #  MINDISTANCE 30
            BUFFER 4
            FORCE true
            END # end of label
         END
everything is ok except two problems:
1、some texts did not display wholly, part of the word disapear.
2、in the river layer, some rivers were labeled two or more times while I
want that each river is labeled once.
Anyone can help me to resolve those two problems, thank you very much.

-- 
天道酬勤
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100106/6805655a/attachment.html


More information about the mapserver-users mailing list