[Mapserver-users] Label: ANGLE auto

Ed McNierney ed at topozone.com
Thu Jul 31 17:10:07 EDT 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>&nbsp;</DIV>
<DIV><SPAN class=3D644440921-31072003><FONT size=3D1>Are you using =
TrueType=20
fonts?&nbsp; MapServer can only rotate TrueType =
text.</FONT></SPAN></DIV>
<DIV><SPAN class=3D644440921-31072003><FONT =
size=3D1></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D644440921-31072003>&nbsp;&nbsp;&nbsp; <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&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 =
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>&nbsp;&nbsp;&nbsp;</FONT><FONT size=3D2>I am =
having trouble=20
  getting&nbsp;ANGLE working for the LABEL object. All of&nbsp;the =
labels (road=20
  names for&nbsp;a centerline layer) are simply horizontally aligned.=20
  </FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;I'm using&nbsp;"ANGLE: Auto" =
under the=20
  proper label object to no avail. </FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp; Here are some system =
specs:</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Mapserver=20
  -&nbsp;v3.6.6 (downloaded binary - OGR / GIF support)</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  Win2000</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp; And here's a code =
snippet:</FONT></DIV>
  <DIV><FONT size=3D1></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D1><FONT face=3DArial><FONT=20
  size=3D2>&nbsp;</FONT>LAYER&nbsp;<BR>&nbsp;&nbsp;&nbsp; NAME=20
  "vroadname"</FONT></FONT></DIV>
  <DIV><FONT face=3DArial size=3D1>&nbsp;&nbsp;&nbsp; DATA=20
  Vanderburgh_centerline<BR>&nbsp;&nbsp; &nbsp;STATUS =
DEFAULT<BR>&nbsp;&nbsp;=20
  &nbsp;TYPE ANNOTATION<BR>&nbsp;&nbsp; &nbsp;LABELITEM=20
  "street_nam"<BR>&nbsp;&nbsp;&nbsp;&nbsp;LABELMAXSCALE =
72000<BR>&nbsp;&nbsp;=20
  &nbsp;CLASS</FONT></DIV>
  <DIV><FONT face=3DArial=20
  =
size=3D1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABEL<BR>&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp;ANGLE=20
  auto<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp;MINDISTANCE=20
  50<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp;POSITION=20
  CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;SIZE=20
  TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp;COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &nbsp;&nbsp;END<BR>&nbsp;&nbsp; &nbsp;END<BR>END</FONT></DIV>
  <DIV><FONT size=3D1></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Rusty=20
  Moorman</FONT></DIV>
  <DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Morley=20
  &amp; Associates, Inc.</FONT></DIV></BLOCKQUOTE></BODY></HTML>

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



More information about the mapserver-users mailing list