<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Steve,<BR> <BR>Thanks for yor help! I managed to figure it out what I needed to do to make changes to the different font etc, and the main thing was I forgot to put "LABELNAME" near the top of the code as now it works!<BR> <BR>Mark<br><BR><div>
<BR></div><br> <BR><div><div id="SkyDrivePlaceholder"></div>> Date: Mon, 18 Mar 2013 18:21:04 -0400<br>> From: woodbri@swoodbridge.com<br>> To: mapserver-users@lists.osgeo.org<br>> Subject: Re: [mapserver-users] label issues...<br>> <br>> So you want you labels to be white?<br>> <br>> What color is your background?<br>> <br>> Do you have a FONTSET "fonts.txt" that maps arial to a font. I assume <br>> you probably do as it is not throwing an error about it.<br>> <br>> Also you can get some debug info if you add to the MAP section:<br>> <br>> CONFIG MS_ERRORFILE "stderr"<br>> DEBUG 5<br>> <br>> Then when you render you map look in the apache error.log file. Or try <br>> it with:<br>> <br>> shp2img -m mymapfile.map -o image.png<br>> <br>> There are lots of other parameters, but that should be enough to get <br>> some output.<br>> <br>> -Steve<br>> <br>> On 3/18/2013 5:30 PM, Mark Mirrlees wrote:<br>> > Hi there,<br>> ><br>> > Ok so I have revised the mapfile to this...<br>> ><br>> > LAYER<br>> > NAME 'mjcities'<br>> > TYPE POINT<br>> > DUMP false<br>> > EXTENT -143.210462 39.001401 -50.461045 85.911094<br>> > DATA '../data/mjcities.shp'<br>> > METADATA<br>> > 'ows_title' 'mjcities'<br>> > END<br>> > STATUS default<br>> > MAXSCALEDENOM 1000000<br>> > TRANSPARENCY 100<br>> > PROJECTION<br>> > 'proj=longlat'<br>> > 'datum=WGS84'<br>> > 'no_defs'<br>> > END<br>> > CLASS<br>> > NAME 'mjcities'<br>> > STYLE<br>> > SYMBOL "circle"<br>> > SIZE 15.0<br>> > OUTLINECOLOR 0 0 0<br>> > COLOR 182 109 194<br>> > END<br>> > LABEL<br>> > COLOR 255 255 255<br>> > FONT "arial"<br>> > TYPE truetype<br>> > SIZE 10<br>> > ANGLE 0<br>> > POSITION cc<br>> > FORCE false<br>> > PARTIALS false<br>> > END<br>> ><br>> > But when I zoom into my layers I see the symbols that were created but<br>> > the labels still don't show up...any suggestions?<br>> ><br>> > Thanks for the help everyone as I do appreciate it!<br>> ><br>> > Mark<br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > mapserver-users mailing list<br>> > mapserver-users@lists.osgeo.org<br>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>> ><br>> <br>> _______________________________________________<br>> mapserver-users mailing list<br>> mapserver-users@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/mapserver-users<br></div> </div></body>
</html>