[Mapserver-users] Label: ANGLE auto

Ed McNierney ed at topozone.com
Thu Jul 31 14:10:07 PDT 2003


This is a multi-part message in MIME format.

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

Rusty -
=20
Are you using TrueType fonts?  MapServer can only rotate TrueType text.
=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: Rusty Moorman [mailto:RustyM at morleyandassociates.com]
Sent: Thursday, July 31, 2003 4:37 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Label: ANGLE auto


Hello all,
   I am having trouble getting ANGLE working for the LABEL object. All =
of the labels (road names for a centerline layer) are simply =
horizontally aligned.=20
=20
   I'm using "ANGLE: Auto" under the proper label object to no avail.=20
=20
   Here are some system specs:
        Mapserver - v3.6.6 (downloaded binary - OGR / GIF support)
        Win2000
=20
   And here's a code snippet:
=20
 LAYER=20
    NAME "vroadname"
    DATA Vanderburgh_centerline
    STATUS DEFAULT
    TYPE ANNOTATION
    LABELITEM "street_nam"
    LABELMAXSCALE 72000
    CLASS
        LABEL
            ANGLE auto
            MINDISTANCE 50
            POSITION CC
            SIZE TINY
            COLOR 0 0 0
        END
    END
END
=20
      Any clue as to what I'm doing wrong? Thanks for the help.
=20
         Rusty Moorman
         Morley & Associates, Inc.


------_=_NextPart_001_01C357A8.1E9FDDDE
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></HEAD>
<BODY style=3D"MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><SPAN class=3D644440921-31072003><FONT size=3D1>Rusty =
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D644440921-31072003><FONT =
size=3D1></FONT></SPAN> </DIV>
<DIV><SPAN class=3D644440921-31072003><FONT size=3D1>Are you using =
TrueType=20
fonts?  MapServer can only rotate TrueType =
text.</FONT></SPAN></DIV>
<DIV><SPAN class=3D644440921-31072003><FONT =
size=3D1></FONT></SPAN> </DIV>
<DIV><SPAN class=3D644440921-31072003>    <FONT =
size=3D1>-=20
Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D644440921-31072003>
<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 =
size=3D2>-----Original=20
  Message-----<BR><B>From:</B> Rusty Moorman=20
  [mailto:RustyM at morleyandassociates.com]<BR><B>Sent:</B> Thursday, July =
31,=20
  2003 4:37 PM<BR><B>To:</B>=20
  mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> [Mapserver-users] =
Label:=20
  ANGLE auto<BR><BR></FONT></DIV>
  <DIV><FONT size=3D2>Hello all,</FONT></DIV>
  <DIV><FONT size=3D2>   </FONT><FONT size=3D2>I am =
having trouble=20
  getting ANGLE working for the LABEL object. All of the =
labels (road=20
  names for a centerline layer) are simply horizontally aligned.=20
  </FONT></DIV>
  <DIV><FONT size=3D2></FONT> </DIV>
  <DIV><FONT size=3D2>   I'm using "ANGLE: Auto" =
under the=20
  proper label object to no avail. </FONT></DIV>
  <DIV><FONT size=3D2></FONT> </DIV>
  <DIV><FONT size=3D2>   Here are some system =
specs:</FONT></DIV>
  <DIV><FONT size=3D2>        =
Mapserver=20
  - v3.6.6 (downloaded binary - OGR / GIF support)</FONT></DIV>
  <DIV><FONT size=3D2>       =20
  Win2000</FONT></DIV>
  <DIV><FONT size=3D2></FONT> </DIV>
  <DIV><FONT size=3D2>   And here's a code =
snippet:</FONT></DIV>
  <DIV><FONT size=3D1></FONT> </DIV>
  <DIV><FONT size=3D1><FONT face=3DArial><FONT=20
  size=3D2> </FONT>LAYER <BR>    NAME=20
  "vroadname"</FONT></FONT></DIV>
  <DIV><FONT face=3DArial size=3D1>    DATA=20
  Vanderburgh_centerline<BR>    STATUS =
DEFAULT<BR>  =20
   TYPE ANNOTATION<BR>    LABELITEM=20
  "street_nam"<BR>    LABELMAXSCALE =
72000<BR>  =20
   CLASS</FONT></DIV>
  <DIV><FONT face=3DArial=20
  =
size=3D1>        LABEL<BR> &=
nbsp;      =20
     ANGLE=20
  auto<BR>        =20
     MINDISTANCE=20
  50<BR>        =20
     POSITION=20
  CC<BR>         =
   SIZE=20
  TINY<BR>        =20
     COLOR 0 0 0<BR>     =20
    END<BR>    END<BR>END</FONT></DIV>
  <DIV><FONT size=3D1></FONT> </DIV>
  <DIV><FONT size=3D1>      </FONT><FONT =
size=3D2>Any=20
  clue as to what I'm doing wrong? Thanks for the help.</FONT></DIV>
  <DIV><FONT size=3D2></FONT> </DIV>
  <DIV><FONT size=3D2>         =
Rusty=20
  Moorman</FONT></DIV>
  <DIV><FONT size=3D2>         =
Morley=20
  & Associates, Inc.</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C357A8.1E9FDDDE--



More information about the MapServer-users mailing list