Labels on multiple lines
Chris Clements
CClements at WESTERNFOREST.COM
Mon Oct 25 17:08:14 PDT 2004
That works perfectly, thank you very much.
Chris
-----Original Message-----
From: Daryl Herzmann [mailto:akrherz at iastate.edu]
Sent: Monday, October 25, 2004 4:28 PM
To: Chris Clements
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Labels on multiple lines
On Mon, 25 Oct 2004, Chris Clements wrote:
>Hi All,
>
>I am very new to MapServer and am having some trouble with labels, I am
>using version 4.2.3 to display shapefiles and would like to label some
>polygons using multiple fields and also place the labels from the different
>fields on multiple lines (stack it essentially)
>
>Labelling is not a problems using:
>
>TEXT ([BLOCK] [STATUS] [YEAR]) in a class. This will display a label with
>all 3 items on one line. i.e. 512A P 2004
>Is there a way to have the label displayed on three lines?
Welcome to Mapserver! I believe you are looking for the 'WRAP' keyword
So in your case
TEXT ([BLOCK] [STATUS] [YEAR])
WRAP " "
check out the mapserver docs for more information:
http://mapserver.gis.umn.edu/doc42/mapfile-reference.html
HTH,
daryl
--
/**
* Daryl Herzmann (akrherz at iastate.edu)
* Program Assistant -- Iowa Environmental Mesonet
* http://mesonet.agron.iastate.edu
*/
More information about the MapServer-users
mailing list