labeling with multiple fields
Michael Smith
msmith at SANANGELOMPO.ORG
Tue Nov 30 13:49:42 PST 2004
Thanks Stephen that did the trick!!!
-----Original Message-----
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
Sent: Tuesday, November 30, 2004 3:36 PM
To: Michael Smith
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] labeling with multiple fields
Michael,
Try something like
CLASS
...
TEXT ([dir] [street])
LABEL
...
END
END
TEXT overrides the LABELITEM tag. Any text chars inside the () and not part
of the [fieldname] is used as text in the label, so the space between the
fields will be included in the label.
-Steve W
Michael Smith wrote:
> Hi,
>
> Can I label my maps with multiple fields.
>
> labelitem "street"
>
> what is the correct syntax for this if I want to put the direction
> field on my streets labels along with street name.
>
> is it:
> labelitem "dir" + "street" ###also how can put a space between the two
> labels.
>
> I can seem to get this right. Any suggestions? thanks.
>
More information about the MapServer-users
mailing list