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.

Hope it helps to you

IC Carlos Ruiz 

--- On Fri, 5/29/09, Chris Green <[email protected]> wrote:

From: Chris Green <[email protected]>
Subject: [mapserver-users] Place names...?
To: [email protected]
Date: Friday, May 29, 2009, 12:41 PM




 
 






Hi all 

   

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? 

   

   

Chris Green 

   

   

   



 


-----Inline Attachment Follows-----

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users



      
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to