[Mapserver-users] polygon lable problem

Ed McNierney ed at topozone.com
Tue Jul 8 12:27:17 EDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3456D.CC2AD778
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Aaron -
=20
Have you checked the attribute table for the data layer, and are you =
SURE that there is indeed a label string for that polygon?
=20
    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20

-----Original Message-----
From: Aaron D. Hunt [mailto:hunt at zedxinc.com]
Sent: Tuesday, July 08, 2003 12:02 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] polygon lable problem


With the layer below, Mapserver seams to have a problem labeling concave =
polygons. If you look at the image link below, there is one concave =
polygon in Canada that is not labeled. Is there any way to get mapserver =
to label the polygon.
=20
=20
http://wcs.zedxinc.com/dy_images/cold.png
=20
=20
LAYER
 NAME weather
 TYPE polygon
 TRANSPARENCY 60
 LABELITEM "COLOR"
 DATA ""
 STATUS ON
  CLASS
     NAME "NAM"
     COLOR  47 111 111
     TEXT Cool/Wet
     LABEL
   force true
   TYPE TRUETYPE
   FONT arial
   SIZE 12
   POSITION cc
   ANTIALIAS FALSE
   OUTLINECOLOR 255 255 255
   COLOR 0 0 0
     END
  END
 END
=20
=20
Aaron D. Hunt
Technical Manager
ZedX Inc.
Voice: 814-357-8490
Fax:    814-357-8499


------_=_NextPart_001_01C3456D.CC2AD778
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D395412616-08072003><FONT face=3DArial color=3D#0000ff =
size=3D2>Aaron=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D395412616-08072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D395412616-08072003><FONT face=3DArial color=3D#0000ff =
size=3D2>Have=20
you checked the attribute table for the data layer, and are you SURE =
that there=20
is indeed a label string for that polygon?</FONT></SPAN></DIV>
<DIV><SPAN class=3D395412616-08072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D395412616-08072003>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D395412616-08072003>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA&nbsp; 01863<BR>ed at topozone.com<BR>(978) 251-4242 =
</FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Aaron D. Hunt=20
  [mailto:hunt at zedxinc.com]<BR><B>Sent:</B> Tuesday, July 08, 2003 12:02 =

  PM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B>=20
  [Mapserver-users] polygon lable problem<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>With the layer below, Mapserver seams =
to have a=20
  problem labeling concave polygons. If you look at the image link =
below,=20
  there&nbsp;is one&nbsp;concave polygon&nbsp;in Canada that is not =
labeled. Is=20
  there any way to get mapserver to label the polygon.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><A=20
  =
href=3D"http://wcs.zedxinc.com/dy_images/cold.png">http://wcs.zedxinc.com=
/dy_images/cold.png</A></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>LAYER<BR>&nbsp;NAME =
weather<BR>&nbsp;TYPE=20
  polygon<BR>&nbsp;TRANSPARENCY 60<BR>&nbsp;LABELITEM =
"COLOR"<BR>&nbsp;DATA=20
  ""<BR>&nbsp;STATUS ON<BR>&nbsp;&nbsp;CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; =
NAME=20
  "NAM"<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR&nbsp; 47 111=20
  111<BR>&nbsp;&nbsp;&nbsp;&nbsp; TEXT =
Cool/Wet<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
  LABEL<BR>&nbsp;&nbsp;&nbsp;force true<BR>&nbsp;&nbsp;&nbsp;TYPE=20
  TRUETYPE<BR>&nbsp;&nbsp;&nbsp;FONT arial<BR>&nbsp;&nbsp;&nbsp;SIZE=20
  12<BR>&nbsp;&nbsp;&nbsp;POSITION cc<BR>&nbsp;&nbsp;&nbsp;ANTIALIAS=20
  FALSE<BR>&nbsp;&nbsp;&nbsp;OUTLINECOLOR 255 255 =
255<BR>&nbsp;&nbsp;&nbsp;COLOR=20
  0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
  END<BR>&nbsp;&nbsp;END<BR>&nbsp;END</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Aaron D. Hunt<BR>Technical =
Manager<BR>ZedX=20
  Inc.<BR>Voice: 814-357-8490<BR>Fax:&nbsp;&nbsp;&nbsp;=20
814-357-8499</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3456D.CC2AD778--



More information about the mapserver-users mailing list