[Mapserver-users] polygon lable problem

Ed McNierney ed at topozone.com
Tue Jul 8 09:27:17 PDT 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> </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> </DIV>
<DIV><SPAN class=3D395412616-08072003>    <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  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 is one concave polygon 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> </DIV>
  <DIV><FONT face=3DArial size=3D2></FONT> </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> </DIV>
  <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
  <DIV><FONT face=3DArial size=3D2>LAYER<BR> NAME =
weather<BR> TYPE=20
  polygon<BR> TRANSPARENCY 60<BR> LABELITEM =
"COLOR"<BR> DATA=20
  ""<BR> STATUS ON<BR>  CLASS<BR>     =
NAME=20
  "NAM"<BR>     COLOR  47 111=20
  111<BR>     TEXT =
Cool/Wet<BR>    =20
  LABEL<BR>   force true<BR>   TYPE=20
  TRUETYPE<BR>   FONT arial<BR>   SIZE=20
  12<BR>   POSITION cc<BR>   ANTIALIAS=20
  FALSE<BR>   OUTLINECOLOR 255 255 =
255<BR>   COLOR=20
  0 0 0<BR>    =20
  END<BR>  END<BR> END</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
  <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
  <DIV><FONT face=3DArial size=3D2>Aaron D. Hunt<BR>Technical =
Manager<BR>ZedX=20
  Inc.<BR>Voice: 814-357-8490<BR>Fax:   =20
814-357-8499</FONT></DIV></BLOCKQUOTE></BODY></HTML>

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



More information about the MapServer-users mailing list