Newbie question: Adding "labels"
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Wed Jun 13 09:54:52 PDT 2007
David Wilson wrote:
> First off, thanks for making such a great product in MapServer. Really
> enjoying it.
>
> I think I'm having a jargon problem. I can't figure out if the data I
> have contains labels (for example highway numbers) and how to get
> MapServer to display them.
>
> In the mapfile reference, I expect "label" to refer to the thing I'm
> looking for, but that seems to refer to text manually inserted in the
> map file.
>
> How do I determine if the names are included in the shapefile data?
> How do I display the names with MapServer?
In the LAYER set LABELITEM attribute and or in the CLASS you can do
TEXT ([attribute1] [attribute2]) and this will be used for the label text.
-Steve W.
More information about the MapServer-users
mailing list