[mapserver-users] label issues...
Worth Lutz
wal3 at mindspring.com
Tue Mar 19 05:03:55 PDT 2013
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:mmirrlees at hotmail.com]
Sent: Monday, March 18, 2013 5:31 PM
To: wal3 at mindspring.com; mapserver-users at lists.osgeo.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130319/254d0293/attachment.htm>
More information about the MapServer-users
mailing list