[maplab-users] Labeling issue
zak-ms at hoppsan.org
Fri Jul 9 09:34:24 EDT 2004
Your mapscript looks to be configured ok, but that's not a guarantee
that the truetype support is working. Does the tutorial mapfile load ok
and display in the preview window? You might also consider downloading
the gmap test application from maptools. You can turn on and off labels
and if it breaks (i.e. no map image) only when label layers are on, you
know it's a freetype problem.
Applications and Software Development
DM Solutions Group Inc.
On Jul 9, 2004, at 9:14 AM, kgrootendorst at baird.com wrote:
> I did not use the ms4w package. I thought I successfully configured
> mapscript (according to the documentation). Would there be a line of
> that would need to be modified? Does it have any thing to do with
> Java? I
> just realized I don't have the latest JRE.
> MapServer Version
> MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> PHP MapScript Version
> ($Revision: 18.104.22.168 $ $Date: 2004/05/13 21:37:44 $)
> Zak James <zak-ms at hoppsan.org>
> 07/09/2004 09:03 AM
> kgrootendorst at baird.com
> maplab-users at lists.maptools.org
> [SPAM] - Re: [maplab-users] Labeling issue - Email found in subject
> How did you install maplab? Are you using the ms4w package? What you
> describe suggests that the truetype font support is not present in
> mapscript for some reason.
> Zak James
> Applications and Software Development
> DM Solutions Group Inc.
> On Jul 8, 2004, at 11:14 AM, kgrootendorst at baird.com wrote:
>> I'm a new MapLab/MapServer user, so this is probably a basic question.
>> I'm having trouble labeling features in MapLab (attribute column =
>> and I'm not sure why. Below is a snippet of code from my mapfile,
>> defining a particular layer:
>> NAME "New_York_County"
>> STATUS ON
>> DATA "./New_York_County"
>> TYPE POLYGON
>> UNITS METERS
>> SIZEUNITS PIXELS
>> #CLASSITEM "NAME"
>> LABELITEM "NAME"
>> NAME "New_York_County"
>> TEMPLATE "ttt"
>> TYPE TRUETYPE
>> FONT "fritqat"
>> SIZE 10
>> POSITION AUTO
>> COLOR 255 0 0
>> SYMBOL 0
>> COLOR 252 241 207
>> OUTLINECOLOR 0 0 0
>> When I uncomment out the LABELITEM tag, I can't preview the map. If
>> 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
>> mapserver 4.2
>> Apache 2.0
>> php 4.3.4
>> Thanks. Kevin_______________________________________________
>> Maplab-users mailing list
>> Maplab-users at lists.maptools.org
More information about the Maplab-users