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.  No matter what I try though, I
get a map with all of the arrows pointing straight up (i.e.
unrotated).  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>
  SYMBOL<br>
    NAME 'trackarrow'<br>
    TYPE TRUETYPE<br>
    FONT 'adings'<br>
    FILLED false<br>
    ANTIALIAS false<br>
    CHARACTER 'a'<br>
  END<br>
<br>
A layer with the following data source:<br>
<br>
  DATA "vessel_coordinate from (select * from archive_v where vessel_id=12) as foo using unique myoid using SRID=-1"<br>
<br>
A class to size, colour and (in theory) rotate the symbol:<br>
<br>
  CLASS<br>
    SYMBOL 'trackarrow'<br>
    SIZE 12<br>
    STYLE<br>
      COLOR 0 0 0<br>
      ANGLEITEM 'heading'<br>
    END<br>
  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.  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>