<br><font size=2 face="sans-serif">Zak,</font>
<br><font size=2 face="sans-serif">The tutorial mapfile does not display
in the preview window. </font>
<br><font size=2 face="sans-serif">I checked maptools.org but did
not see the gmap test application - could you be more specific?</font>
<br><font size=2 face="sans-serif">I'm assuming it must be a freetype problem
as you say, since when the labels are turned on, I receive the 'broken'
map.</font>
<br><font size=2 face="sans-serif">What's the best way to go about fixing
a freetype problem?</font>
<br>
<br><font size=2 face="sans-serif">Kevin<br>
</font>
<p><font size=2 color=blue face="Times New Roman">______________________________</font><font size=5 color=blue face="Times New Roman"><br>
Baird </font><font size=2 color=blue face="Times New Roman"><i><br>
Innovation, Excellence, & Service</i></font><font size=3> </font><font size=2 color=blue face="Times New Roman"><i><br>
Oceans, Lakes & Rivers</i></font><font size=2 face="Times New Roman"><b><br>
Kevin Grootendorst </b><br>
905-845-5385 phone 905-845-0698 fax<br>
627 Lyons Lane, Suite 200<br>
Oakville, Ontario, Canada L6J 5Z7 </font><font size=2 color=blue face="Times New Roman"><u><br>
</u></font><a href=mailto:kgrootendorst@baird.com><font size=2 color=blue face="Times New Roman"><u>mailto:kgrootendorst@baird.com</u></font></a><font size=3>
</font><a href=http://www.baird.com/ target=_blank><font size=2 color=blue face="Times New Roman"><u>http://www.baird.com/</u></font></a><font size=3>
</font><font size=5 color=blue face="Times New Roman"><br>
______________________________</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Zak James <zak-ms@hoppsan.org></b>
</font>
<p><font size=1 face="sans-serif">07/09/2004 09:34 AM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">kgrootendorst@baird.com</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">maplab help <maplab-users@lists.maptools.org></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [maplab-users] Labeling
issue</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi Kevin,<br>
<br>
Your mapscript looks to be configured ok, but that's not a guarantee <br>
that the truetype support is working. Does the tutorial mapfile load ok
<br>
and display in the preview window? You might also consider downloading
<br>
the gmap test application from maptools. You can turn on and off labels
<br>
and if it breaks (i.e. no map image) only when label layers are on, you
<br>
know it's a freetype problem.<br>
<br>
zak<br>
--<br>
Zak James<br>
Applications and Software Development<br>
DM Solutions Group Inc.<br>
http://www.dmsolutions.ca<br>
<br>
<br>
On Jul 9, 2004, at 9:14 AM, kgrootendorst@baird.com wrote:<br>
<br>
> Zak,<br>
> I did not use the ms4w package. I thought I successfully configured<br>
> mapscript (according to the documentation). Would there be a
line of <br>
> code<br>
> that would need to be modified? Does it have any thing to do
with <br>
> Java? I<br>
> just realized I don't have the latest JRE.<br>
><br>
> MapScript<br>
> MapServer Version<br>
> MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>
> OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE <br>
> SUPPORTS=WMS_SERVER<br>
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT <br>
> INPUT=POSTGIS<br>
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br>
> PHP MapScript Version<br>
> ($Revision: 1.194.2.3 $ $Date: 2004/05/13 21:37:44 $)<br>
><br>
><br>
> Thanks.<br>
><br>
> Kevin<br>
><br>
><br>
><br>
><br>
> Zak James <zak-ms@hoppsan.org><br>
> 07/09/2004 09:03 AM<br>
><br>
> To<br>
> kgrootendorst@baird.com<br>
> cc<br>
> maplab-users@lists.maptools.org<br>
> Subject<br>
> [SPAM] - Re: [maplab-users] Labeling issue - Email found in subject<br>
><br>
><br>
><br>
><br>
><br>
><br>
> Hi,<br>
><br>
> How did you install maplab? Are you using the ms4w package? What you<br>
> describe suggests that the truetype font support is not present in<br>
> mapscript for some reason.<br>
><br>
> zak<br>
> --<br>
> Zak James<br>
> Applications and Software Development<br>
> DM Solutions Group Inc.<br>
> http://www.dmsolutions.ca<br>
><br>
><br>
> On Jul 8, 2004, at 11:14 AM, kgrootendorst@baird.com wrote:<br>
><br>
>> I'm a new MapLab/MapServer user, so this is probably a basic question.<br>
>> I'm having trouble labeling features in MapLab (attribute column
=<br>
>> NAME),<br>
>> and I'm not sure why. Below is a snippet of code from my
mapfile,<br>
>> defining a particular layer:<br>
>><br>
>> LAYER<br>
>> NAME "New_York_County"<br>
>> STATUS ON<br>
>> DATA "./New_York_County"<br>
>> TYPE POLYGON<br>
>> UNITS METERS<br>
>> SIZEUNITS PIXELS<br>
>> #CLASSITEM "NAME"<br>
>> LABELITEM "NAME"<br>
>> CLASS<br>
>> NAME "New_York_County"<br>
>> TEMPLATE "ttt"<br>
>> LABEL<br>
>> TYPE TRUETYPE<br>
>> FONT "fritqat"<br>
>> SIZE 10<br>
>> POSITION AUTO<br>
>> COLOR 255 0 0<br>
>> END<br>
>> STYLE<br>
>> SYMBOL 0<br>
>> COLOR 252 241 207<br>
>> OUTLINECOLOR 0 0 0<br>
>> END<br>
>> END<br>
>><br>
>> When I uncomment out the LABELITEM tag, I can't preview the map.
If <br>
>> I<br>
>> comment out the tag, the map draws fine - just without labels.<br>
>> I'm sure it's something really simple to fix. Any ideas?<br>
>><br>
>> Windows 2000<br>
>> maplab-2.1-rc3<br>
>> mapserver 4.2<br>
>> Apache 2.0<br>
>> php 4.3.4<br>
>><br>
>> Thanks. Kevin_______________________________________________<br>
>> Maplab-users mailing list<br>
>> Maplab-users@lists.maptools.org<br>
>> http://lists.maptools.org/mailman/listinfo/maplab-users<br>
><br>
><br>
<br>
</tt></font>
<br>