<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
You can use the TEXT parameter:<br>
<br>
CLASS<br>
...<br>
TEXT (surface is [TXT])<br>
LABEL<br>
...<br>
END<br>
END<br>
<br>
Where [TXT] is the attribute field from your data. You can also use
this method to combine two attributes into the label.<br>
<br>
Christy<br>
<br>
On 05/17/2010 08:22 AM, Tonton wrote:
<blockquote
cite="mid:AANLkTimJEgQhtcj4ab1d12tP98V6iW_91QPPqknTAmz_@mail.gmail.com"
type="cite"><br>
hello <br>
<br>
i use shapefile with mapserver in a column there a label but i hope add
some text like "surface is" or "number of foo :" before the value in
the shape file column.. <br>
<br>
did someone nknows how to doing that ? <br>
<br>
if my column name TXT where i set in label the string before ? <br>
<br>
LABELITEM TXT<br>
CLASS<br>
NAME "LabelParcelle"<br>
STYLE <br>
SYMBOL 7<br>
SIZE 3<br>
OUTLINECOLOR 255 0 0<br>
COLOR 255 0 0<br>
END <br>
LABEL<br>
TYPE BITMAP<br>
SIZE MEDIUM<br>
COLOR 0 0 0<br>
End #LABEL<br>
END <br>
<br>
<br>
thanks <br>
Tonton<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>