<!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 6.00.2800.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Franceso,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> I ran into this a couple of years ago, and I don't
think the situation has changed.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The short answer is no, there is no map file keyword to
indicate the field to use as the rotation value.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The long answer is there are a couple of work-arounds that
might work for you:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>1. Use LABEL with POSITION CC and LABELANGLEITEM to
indicate the field with the rotation</FONT></DIV>
<DIV><FONT size=2> - if you want to have a
text label along with the "symbol" then you'll to define another LAYER just for
that</FONT></DIV>
<DIV><FONT size=2> - this will only work
for using TrueType fonts for symbols (it won't work for Bitmap or Vector
symbols)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>OR</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>2. Create different symbols for the different directions, and
then use CLASS and EXPRESSION to assign the appropriate symbol for the different
values in the field.</FONT></DIV>
<DIV><FONT size=2> - We used this method to show ship
symbols based on a "heading" attribute:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> CLASS<BR>
EXPRESSION ([HEADING]<23 or [HEADING]>337)<BR>
SYMBOL 'arrowup'<BR> SIZE
10<BR> COLOR 255 0
0<BR> OUTLINECOLOR 0 0 0<BR> END
# CLASS</FONT></DIV>
<DIV><FONT size=2> CLASS<BR>
EXPRESSION ([HEADING]>=23 and
[HEADING]<67)<BR> SYMBOL
'arrowuprt'<BR> :</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>In this case we generalized the heading values to eight
different symbols representing eight points on a compasss.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I don't think there is any work planned to allow rotation of
symbols.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Brent Fraser</FONT></DIV>
<DIV><FONT size=2></FONT> </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=fsozzi@INTERCAD.CH href="mailto:fsozzi@INTERCAD.CH">Francesco
Sozzi</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=MAPSERVER-USERS@LISTS.UMN.EDU
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 24, 2005 3:40
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [UMN_MAPSERVER-USERS] dynamic
symbol rotation</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I would like to rotate point symbols reading
rotation angle from a field.</FONT></DIV>
<DIV><FONT face=Arial size=2>I think that at this version it is not
possible.</FONT></DIV>
<DIV><FONT face=Arial size=2>Anybody knows if this possibility will be
provided in any future release?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Francesco</FONT></DIV></BLOCKQUOTE></BODY></HTML>