Hi Chris,

 

In order to help us help you, give us an overview of you code ...

It should work fine with POINT.

 

Here is a working example :

 

 

  LAYER

 

    NAME                  "pd_p_bldg"

    STATUS                ON

    DUMP                  TRUE

 

    PROJECTION

        . . . 

    END

    METADATA

        . . . 

    END

 

    EXTENT                3000000 0 10000000 5000000

 

    DATA                  "pd_p/subset_pd_p"

    TYPE                  POINT

 

    LABELITEM             "bldg_label"

 

    CLASS

      STYLE

        SYMBOL            "single_building"

      END

      LABEL

        TYPE              TRUETYPE

        FONT              "times-bold"

        SIZE              11

        POSITION          AUTO

        COLOR             227 119 0

        OUTLINECOLOR      250 250 250

        PARTIALS          FALSE

      END

    END

 

  END

 

 

 

 

 

________________________________________________________________________

James 

 

 

 

De : [email protected] 
[mailto:[email protected]] De la part de Chris Green
Envoyé : 29 mai 2009 13:42
À : [email protected]
Objet : [mapserver-users] Place names...?

 

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