[Mapserver-users] Rotating labels in point shapefile

Wim Blanken PI wim.blanken at planet.nl
Mon Feb 9 10:33:31 EST 2004


This is a multi-part message in MIME format.

--Boundary_(ID_0Ko/nMQBgeY6KsuJ+rrJ/Q)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hello Valerio,

Take a look at the LABELANGLEITEM setting in the LAYER item.
The item is the column with the angle in degrees.

For example

LAYER.....
LABELANGLEITEM "DEGREES"
CLASS
....
LABEL
......
END
.....
END

Regards,

Wim Blanken
GEON bv
The Netherlands

  ----- Original Message ----- 
  From: Valerio Noti 
  To: mapserver-users at lists.gis.umn.edu 
  Sent: Monday, February 09, 2004 4:27 PM
  Subject: [Mapserver-users] Rotating labels in point shapefile


  Hello,
  is it possible to rotate labels of a point shapefile depending on a database field which contains angle value?

  Thanks

  Valerio Noti

--Boundary_(ID_0Ko/nMQBgeY6KsuJ+rrJ/Q)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Valerio,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Take a look at the LABELANGLEITEM setting in the 
LAYER item.</FONT></DIV>
<DIV><FONT face=Arial size=2>The item is the column with the angle in 
degrees.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For example</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>LAYER.....</FONT></DIV>
<DIV>LABELANGLEITEM "DEGREES"</DIV>
<DIV><FONT face=Arial size=2>CLASS</FONT></DIV>
<DIV><FONT face=Arial size=2>....</FONT></DIV>
<DIV><FONT face=Arial size=2>LABEL</FONT></DIV>
<DIV><FONT face=Arial size=2>......</FONT></DIV>
<DIV><FONT face=Arial size=2>END</FONT></DIV>
<DIV><FONT face=Arial size=2>.....</FONT></DIV>
<DIV><FONT face=Arial size=2>END</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Wim Blanken</FONT></DIV>
<DIV><FONT face=Arial size=2>GEON bv</FONT></DIV>
<DIV><FONT face=Arial size=2>The Netherlands</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=noti at ciaoweb.it href="mailto:noti at ciaoweb.it">Valerio Noti</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=mapserver-users at lists.gis.umn.edu 
  href="mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.gis.umn.edu</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 09, 2004 4:27 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] Rotating 
  labels in point shapefile</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
  <DIV><FONT face=Arial size=2>is it possible to rotate labels of a point 
  shapefile depending on a database field which contains angle 
  value?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Valerio 
Noti</FONT></DIV></BLOCKQUOTE></BODY></HTML>

--Boundary_(ID_0Ko/nMQBgeY6KsuJ+rrJ/Q)--



More information about the mapserver-users mailing list