Using multiple label column in a label

Jeff Portwine jdport at VERITIME.COM
Wed Apr 27 08:40:57 EDT 2005


You could edit the DBF.   I don't know if you are using mapscript or
mapserver,
but I know another way you could do it would be to use mapscript to read the
values
from the columns you need for your label and create a new variable that
formats the data how you want it to appear, and then set the label to use
that variable for its text.

This is clipped out of an email where Steve Woodbridge answered a similar
question of mine:

set the CLASS -> TEXT -> value to the string you want output.
so something like:
$oClass->set("text", $mytext);
should do it.

Hope that helps,
Jeff



More information about the mapserver-users mailing list