[maplab-users] Labeling issue
kgrootendorst at baird.com
kgrootendorst at baird.com
Thu Jul 8 11:14:04 EDT 2004
I'm a new MapLab/MapServer user, so this is probably a basic question.
I'm having trouble labeling features in MapLab (attribute column = NAME),
and I'm not sure why. Below is a snippet of code from my mapfile,
defining a particular layer:
LAYER
NAME "New_York_County"
STATUS ON
DATA "./New_York_County"
TYPE POLYGON
UNITS METERS
SIZEUNITS PIXELS
#CLASSITEM "NAME"
LABELITEM "NAME"
CLASS
NAME "New_York_County"
TEMPLATE "ttt"
LABEL
TYPE TRUETYPE
FONT "fritqat"
SIZE 10
POSITION AUTO
COLOR 255 0 0
END
STYLE
SYMBOL 0
COLOR 252 241 207
OUTLINECOLOR 0 0 0
END
END
When I uncomment out the LABELITEM tag, I can't preview the map. If I
comment out the tag, the map draws fine - just without labels.
I'm sure it's something really simple to fix. Any ideas?
Windows 2000
maplab-2.1-rc3
mapserver 4.2
Apache 2.0
php 4.3.4
Thanks. Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040708/d8cd3045/attachment.htm
More information about the Maplab-users
mailing list