Hi,

Mapserver needs LABELITEM in the layer definitions before it knows what to 
write into labels. And then it needs a whole LABEL section that defines how the 
labels should look like on a map.  Label settings are described in 
http://mapserver.org/mapfile/label.html#label

However, I cannot find there a basic example of how to use built-in bitmap 
fonts for labeling. That would be the most simple way to start with.

-Jukka Rahkonen-

Chris Green wrote:
 
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

 

 

 


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

Reply via email to