<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">You have to use LABELITEM tag within LAYER block, and to define a style, within the CLASS block, define a LABEL block with the name of the font, size and color.<br><br>Hope it helps to you<br><br><div><strong><font color="#0000bf">IC Carlos Ruiz</font></strong></div><div><strong><font color="#0000bf"></font></strong> </div><br><br>--- On <b>Fri, 5/29/09, Chris Green <i><chris.green@ibstv.co.uk></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Chris Green <chris.green@ibstv.co.uk><br>Subject: [mapserver-users] Place names...?<br>To: mapserver-users@lists.osgeo.org<br>Date: Friday, May 29, 2009, 12:41 PM<br><br><div id="yiv1903901497">


 
 
<style>
<!--
#yiv1903901497  
 _filtered #yiv1903901497 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv1903901497 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv1903901497  
#yiv1903901497 p.MsoNormal, #yiv1903901497 li.MsoNormal, #yiv1903901497 div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
#yiv1903901497 a:link, #yiv1903901497 span.MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1903901497 a:visited, #yiv1903901497 span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1903901497 span.EmailStyle17
        {font-family:"Calibri", "sans-serif";color:windowtext;}
#yiv1903901497 .MsoChpDefault
        {}
 _filtered #yiv1903901497 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#yiv1903901497 div.Section1
        {}
-->
</style>

<div class="Section1">

<p class="MsoNormal"><span lang="EN-GB">Hi all</span></p> 

<p class="MsoNormal"><span lang="EN-GB">  </span></p> 

<p class="MsoNormal"><span lang="EN-GB">Apologies in advance if this turns out to
be a stupid question, but I can’t find a way to make Map Server
 v5.0 display place names. I have created a shape file with points for
towns and cities, each of which has a label. If I check this layer with Quantum
GIS (which I used to create the points) I can display both the points and the
labels showing town and city names. However when I define this layer in the
mapfile with type ‘point’ MapServer gives me a display of the points
but not the labels.  If I define it as type ‘annotation’ I
don’t see either points or labels. I feel sure I am missing something
obvious but after quite a few hours I am stuck.  Can anyone suggest what I
am doing wrong?</span></p> 

<p class="MsoNormal"><span lang="EN-GB">  </span></p> 

<p class="MsoNormal"><span lang="EN-GB">  </span></p> 

<p class="MsoNormal"><span lang="EN-GB">Chris Green</span></p> 

<p class="MsoNormal"><span lang="EN-GB">  </span></p> 

<p class="MsoNormal"><span lang="EN-GB">  </span></p> 

<p class="MsoNormal"><span lang="EN-GB">  </span></p> 

</div>

 

</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="/mc/compose?to=mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div></blockquote></td></tr></table><br>