Labeling example help

James Net james_marsnett at HOTMAIL.COM
Fri Jan 13 16:14:52 PST 2006


What are the minimum layer attributes for supporting labels? Do I need the 
CLASSITEM attribute, and if so where do I get its value from? I have my 
*.shp and *.dbf files in the same directory and with the same names. And I 
can open my *.dbf in open office calc to see the header “name”.

Here was my failed attempt:

   LAYER
      NAME    "landmark"
      DATA    "data/landmark_pt.shp"
      TYPE    POINT
      STATUS  ON
      LABELITEM  "name"
   #  MAXSCALE   100000.0
   #  MINSCALE   0.000001
   #  SYMBOLSCALE   1.0
      CLASS
         STYLE
            COLOR    255 255 0
            SYMBOL   'star'
            SIZE     7
         END
      END
      METADATA
      wms_title      "landmark"
      wms_srs        "EPSG:4283"
      END
   END

I can see my point stars just fine, but they have no labels... help...

Thanks heaps in advance!

Jim

_________________________________________________________________
Start something musical - 15 free ninemsn Music downloads! 
http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=667&referral=HotmailTaglineNov&URL=http://www.ninemsn.com.au/startsomething



More information about the MapServer-users mailing list