Hello,<br>
I'm using PHP/MapScript 4.6 and trying to create a layer of points from
a PostGIS database using an arrow pointing in the direction of the
'heading' field in the data table.&nbsp; No matter what I try though, I
get a map with all of the arrows pointing straight up (i.e.
unrotated).&nbsp; My definitions include a TrueType symbol using a
character of an arrow pointing up (I've also tried drawing an arrow as
a Vector symbol with the same results):<br>
<br>
&nbsp; SYMBOL<br>
&nbsp;&nbsp;&nbsp; NAME 'trackarrow'<br>
&nbsp; &nbsp; TYPE TRUETYPE<br>
&nbsp; &nbsp; FONT 'adings'<br>
&nbsp; &nbsp; FILLED false<br>
&nbsp; &nbsp; ANTIALIAS false<br>
&nbsp; &nbsp; CHARACTER 'a'<br>
&nbsp; END<br>
<br>
A layer with the following data source:<br>
<br>
&nbsp; DATA &quot;vessel_coordinate from (select * from archive_v where vessel_id=12) as foo using unique myoid using SRID=-1&quot;<br>
<br>
A class to size, colour and (in theory) rotate the symbol:<br>
<br>
&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp; SYMBOL 'trackarrow'<br>
&nbsp;&nbsp;&nbsp; SIZE 12<br>
&nbsp;&nbsp;&nbsp; STYLE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLEITEM 'heading'<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp; END<br>
<br>
I know that the ANGLEITEM line is being read by MapServer because if I
change the name in quotes I get an error that the field doesn't exist,
and if I try putting the field name in square brackets I get parsing
errors, but setup like this I simply get all of the arrows size twelve,
coloured black, but pointing up.&nbsp; The table contains thousands of
records with values in the heading field ranging from 0 to 359.<br>
<br>
Any insight into why the arrows won't rotate and how to make them do so would be greatly appreciated.<br>
Thanks,<br>
Mike<br>