[mapserver-users] about label in mapfile

Shaz N geo.engineer123 at gmail.com
Fri Jan 8 21:34:48 PST 2010


Hi..

Which version of MapServer do u use?

On Wed, Jan 6, 2010 at 1:32 PM, 王连波 <happyforev1 at gmail.com> wrote:

> 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.
>
> --
> 天道酬勤
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100109/618d15fd/attachment.htm>


More information about the MapServer-users mailing list