You seem to be missing:

 

      LABELITEM  <field to use for label>

 

This tells what data to use for the label.

 

See below for location.

 

Also see other responses about color.

 

Worth

 

  _____  

From: Mark Mirrlees [mailto:[email protected]] 
Sent: Monday, March 18, 2013 5:31 PM
To: [email protected]; [email protected]
Subject: RE: [mapserver-users] label issues...

 

Hi there, 

Ok so I have revised the mapfile to this...

 

  LAYER
    NAME 'mjcities'
    TYPE POINT
    DUMP false
  EXTENT -143.210462 39.001401 -50.461045 85.911094
    DATA '../data/mjcities.shp'
    METADATA
      'ows_title' 'mjcities'
    END
    STATUS default
 MAXSCALEDENOM 1000000
    TRANSPARENCY 100
    PROJECTION
    'proj=longlat'
    'datum=WGS84'
    'no_defs'
    END

   LABELITEM <field to use for label>

    CLASS
    NAME 'mjcities' 
       STYLE
         SYMBOL "circle" 
         SIZE 15.0 
         OUTLINECOLOR 0 0 0
         COLOR 182 109 194
       END
   LABEL 
   COLOR 255 255 255
   FONT "arial"
   TYPE truetype
   SIZE 10
   ANGLE 0
   POSITION cc
   FORCE false
   PARTIALS false
   END

 

But when I zoom into my layers I see the symbols that were created but the
labels still don't show up...any suggestions?

 

Thanks for the help everyone as I do appreciate it!

Mark

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 2641/6185 - Release Date: 03/17/13

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

Reply via email to