[Mapserver-users] polygon lable problem

Aaron D. Hunt hunt at zedxinc.com
Tue Jul 8 09:37:34 PDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0070_01C3454D.B4FA80A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

There is a label item but I am overriding the with a TEXT Cool/Wet in =
the class. This is not the first time I have had this problem with =
labeling.

----- Original Message -----=20
  From: Ed McNierney=20
  To: Aaron D. Hunt ; mapserver-users at lists.gis.umn.edu=20
  Sent: Tuesday, July 08, 2003 12:27 PM
  Subject: RE: [Mapserver-users] polygon lable problem


  Aaron -

  Have you checked the attribute table for the data layer, and are you =
SURE that there is indeed a label string for that polygon?

      - 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.


    http://wcs.zedxinc.com/dy_images/cold.png


    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


    Aaron D. Hunt
    Technical Manager
    ZedX Inc.
    Voice: 814-357-8490
    Fax:    814-357-8499
------=_NextPart_000_0070_01C3454D.B4FA80A0
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=3DContent-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><FONT face=3DArial size=3D2>There is a label item but I am =
overriding the with=20
a TEXT Cool/Wet in the class. This is not the first time I have had this =
problem=20
with labeling.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Ded at topozone.com href=3D"mailto:ed at topozone.com">Ed =
McNierney</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dhunt at zedxinc.com =

  href=3D"mailto:hunt at zedxinc.com">Aaron D. Hunt</A> ; <A=20
  title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, July 08, 2003 =
12:27=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] =
polygon=20
  lable problem</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D395412616-08072003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Aaron -</FONT></SPAN></DIV>
  <DIV><SPAN class=3D395412616-08072003><FONT face=3DArial =
color=3D#0000ff=20
  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=20
  there is indeed a label string for that polygon?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D395412616-08072003><FONT face=3DArial =
color=3D#0000ff=20
  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><A=20
  href=3D"mailto:ed at topozone.com">ed at topozone.com</A><BR>(978) 251-4242=20
  </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=20
    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.=20
    Is 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=20
    255<BR>   COLOR 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></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0070_01C3454D.B4FA80A0--




More information about the MapServer-users mailing list