[mapserver-users] Place names...?

Carlos Ruiz boolean10001 at yahoo.com
Fri May 29 13:49:42 EDT 2009


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 <chris.green at ibstv.co.uk> wrote:

From: Chris Green <chris.green at ibstv.co.uk>
Subject: [mapserver-users] Place names...?
To: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090529/24223377/attachment-0001.html


More information about the mapserver-users mailing list