<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Tonton,<br><br>This is because de data domain, there's no way to apply a format with the LABEL tag, you have to change the <br>data domain from the data source directly<br><br><div style="font-weight: bold; color: rgb(0, 96, 191);">IC Carlos Ruiz</div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br style="font-weight: bold; color: rgb(96, 0, 191);"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Tonton &lt;to.tonton@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, June 4, 2010 8:05:30 AM<br><b><span style="font-weight: bold;">Subject:</span></b>
 [mapserver-users] numeric label without decimal ?<br></font><br>
hello <br><br>i use shapefile&nbsp; to render a map in wms layer. <br>it is working good but ... <br><br>the&nbsp; column i use TXT&nbsp; have number&nbsp; ( 12 30 255 etc...) <br><br>so i see with 10 digits after the point ( 12.00000000&nbsp; 30.000000000 255.000000000 etc...) <br>
<br>if anybody know how to set that my label was text or integer and not decimal ? i haven't found it in mapserver documentation <br><br>Tonton <br><br>next the layer <br><br>LAYER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "LabelParcelle.shp"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA "LabelParcelle.shp"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE POINT<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEBUG 5<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DUMP TRUE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABELCACHE ON<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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nbsp; End #LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
END #Layer<br><br>
</div></div>
</div><br>

      </body></html>