Dear List,<br>&nbsp;&nbsp;&nbsp; I have a map which consists of various districts.Now I want to place the names of each district in each polygon.But i am not able to get the documentation how to put a text inside a polygon.If&nbsp; any one know the solution please help me in solving 
this.I am giving my map file here and can you please&nbsp; give me an example how to put an example text &quot;XXXX&quot; inside a polygon of this map so that i can put the text.<br>&nbsp; Here is the map file (To get the extents for you)
<br><br>MAP<br>&nbsp; NAME &quot;demoPlugins&quot;<br>&nbsp; EXTENT 78.06729100692377 12.622787007093203 80.05293299314805 13.993528992744805<br>&nbsp; IMAGETYPE PNG<br>&nbsp; IMAGECOLOR 255 255 255<br>&nbsp; STATUS ON<br>&nbsp; UNITS METERS<br>&nbsp; FONTSET &quot;
fonts.txt&quot;<br>&nbsp; SYMBOLSET &quot;symbols.txt&quot;<br>&nbsp; SHAPEPATH &quot;data&quot;<br><br>&nbsp; OUTPUTFORMAT<br>&nbsp;&nbsp;&nbsp; NAME png<br>&nbsp;&nbsp;&nbsp; DRIVER &quot;GD/PNG&quot;<br>&nbsp;&nbsp;&nbsp; MIMETYPE &quot;image/png&quot;<br>&nbsp;&nbsp;&nbsp; IMAGEMODE PC256<br>
&nbsp;&nbsp;&nbsp; EXTENSION &quot;png&quot;<br>&nbsp;&nbsp;&nbsp; FORMATOPTION &quot;INTERLACE=OFF&quot;<br>&nbsp;&nbsp;&nbsp; TRANSPARENT ON<br>&nbsp; END<br>&nbsp;<br>&nbsp; OUTPUTFORMAT<br>&nbsp;&nbsp;&nbsp; NAME jpeg<br>&nbsp;&nbsp;&nbsp; DRIVER &quot;GD/JPEG&quot;<br>&nbsp;&nbsp;&nbsp; MIMETYPE &quot;image/jpeg&quot;<br>
&nbsp;&nbsp;&nbsp; IMAGEMODE RGB<br>&nbsp;&nbsp;&nbsp; EXTENSION &quot;jpg&quot;<br>&nbsp;&nbsp;&nbsp; FORMATOPTION &quot;INTERLACE=OFF&quot;<br>&nbsp;&nbsp;&nbsp; FORMATOPTION &quot;QUALITY=80&quot;<br>&nbsp; END<br>&nbsp;<br>&nbsp; REFERENCE<br>&nbsp;&nbsp;&nbsp; IMAGE images/keymap.png<br>&nbsp;&nbsp;&nbsp; EXTENT 142776 4757331 1083562 5409260
<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; COLOR -1 -1 -1<br>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 200 200 200<br>&nbsp;&nbsp;&nbsp; SIZE 140 97<br>&nbsp; END<br><br>&nbsp; SCALEBAR<br>&nbsp;&nbsp;&nbsp; POSTLABELCACHE TRUE<br>&nbsp;&nbsp;&nbsp; STYLE 0<br>&nbsp;&nbsp;&nbsp; UNITS kilometers<br>&nbsp;&nbsp;&nbsp; SIZE 350 3<br>&nbsp;&nbsp;&nbsp; TRANSPARENT TRUE
<br>&nbsp;&nbsp;&nbsp; COLOR 77 77 88<br>&nbsp;&nbsp;&nbsp; IMAGECOLOR 242 255 195<br>&nbsp;&nbsp;&nbsp; BACKGROUNDCOLOR 222 222 222<br>&nbsp;&nbsp;&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE BITMAP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE SMALL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION UR<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 10<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp; END
<br><br>&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<br>&nbsp; END<br><br>&nbsp; LEGEND<br>&nbsp;&nbsp;&nbsp; KEYSIZE 20 15<br>&nbsp; END<br><br>&nbsp; ##########<br>&nbsp; # LAYERS #<br>&nbsp; ##########<br>&nbsp;<br><br>&nbsp; <br>&nbsp; <br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;chittoor&quot;
<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; DATA &quot;DIST_Chittoor_Ver0_011205&quot;<br>&nbsp;&nbsp;&nbsp; TEMPLATE &quot;ttt&quot;<br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;exported_values&quot; &quot;recenter_name_string,id_attribute_string&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;recenter_name_string&quot; &quot;NAM&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;id_attribute_string&quot; &quot;OGC_FID|string&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;query_returned_attributes&quot; &quot;NAM&quot; <br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 80 160 74<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 86 86 74
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp; END<br><br><br>&nbsp; ###########<br>&nbsp; # outline #<br>&nbsp; ###########&nbsp; <br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;cartoweb_point_outline&quot;<br>&nbsp;&nbsp;&nbsp; TYPE POINT<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL &quot;circle&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 205<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT &quot;Vera&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 7<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 255 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION lc
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp; END<br><br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;cartoweb_line_outline&quot;<br>&nbsp;&nbsp;&nbsp; TYPE LINE<br>&nbsp;&nbsp;&nbsp; TRANSPARENCY 100<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL &quot;line-dashed&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT &quot;Vera&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 7<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 255 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLE auto<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION uc
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp; END<br><br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;cartoweb_polygon_outline&quot;<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; TRANSPARENCY 60<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 153 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT &quot;Vera&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 7<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 255 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION cc<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp; END<br>
END<br><br>Thanks in advance,<br><br>Regards,<br>venu.<br><br><br><br>