[Mapserver-users] symbol question

Mathieu Parent mathieuparent at infonie.fr
Sat Jul 10 07:28:14 EDT 2004


This is a multi-part message in MIME format.
--------------010409070306010601060206
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

fx gamoy a écrit :

> Hello world,
> i'd like to obtain lines with oriented triangle in order to show the 
> direction of a track.
> I have made several test but nothing very interesting..
> thanks in advance..
> fx

Try to use a label and the "labelangleitem" attribute of the layer object.
Use a font with an arrow as char (Windings for example).

LAYER
     ...
     LABELANGLEITEM arrow_angle
     LABEL
          TYPE TRUETYPE
          ...
          FONT windings
          CHAR é
     END
END

--------------010409070306010601060206
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
fx gamoy a &eacute;crit&nbsp;:<br>
<blockquote cite="mid017601c465cf$587fc260$0102a8c0 at geomatika"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2600.0" name="GENERATOR">
  <style></style>
  <div><font face="Arial" size="2">Hello world,</font></div>
  <div><font face="Arial" size="2">i'd like to obtain lines with
oriented triangle in order to show the direction of a track.</font></div>
  <div><font face="Arial" size="2">I have made several test but nothing
very interesting..</font></div>
  <div><font face="Arial" size="2">thanks in advance..</font></div>
  <div><font face="Arial" size="2">fx</font></div>
</blockquote>
Try to use a label and the "labelangleitem" attribute of the layer
object.<br>
Use a font with an arrow as char (Windings for example).<br>
<br>
LAYER<br>
&nbsp;&nbsp;&nbsp;&nbsp; ...<br>
&nbsp;&nbsp;&nbsp;&nbsp; LABELANGLEITEM arrow_angle<br>
&nbsp;&nbsp;&nbsp;&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT windings<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CHAR &eacute;<br>
&nbsp;&nbsp;&nbsp;&nbsp; END<br>
END<br>
</body>
</html>

--------------010409070306010601060206--



More information about the mapserver-users mailing list