<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Users<br>
<br>
I would like to render a vector symbol along the line in a layer.
This vector symbol should be rotated according to orientation of
linesegments (for example a arrow along one way street). When I use
negative GAP with truetype symbol it work perfectly but I have
probelms with vector symbols to rotate them.<br>
<br>
I use this definition of Symbol but it doesn't work:<br>
<small><small><br>
SYMBOL<br>
NAME "testsymbol"<br>
TYPE VECTOR<br>
POINTS<br>
5 0<br>
2 1<br>
0 2.5<br>
2 4<br>
5 5<br>
5 5<br>
2 6<br>
0 7.5<br>
2 9<br>
5 10<br>
END<br>
STYLE 1 8 1 18 END<br>
GAP -99 # doesn't work<br>
END</small></small><br>
<br>
I read in docu <a class="moz-txt-link-freetext" href="http://mapserver.org/mapfile/symbol.html">http://mapserver.org/mapfile/symbol.html</a> that:<br>
<br>
"When drawing the symbol along a line segment, a negative GAP will
will add
180 degress to the angle. The TrueType and PixMap symbols are always
oriented
along the line."<br>
<br>
My layer definiton is:<br>
<br>
<small><small>LAYER<br>
NAME testtest<br>
STATUS on<br>
TYPE line<br>
TRANSFORM false<br>
FEATURE<br>
WKT "LINESTRING (0 0, 100 100, 0 100)"<br>
END <br>
CLASS<br>
<br>
STYLE<br>
#ANGLE AUTO<br>
SYMBOL "testsymbol" <br>
COLOR 0 255 0<br>
#SIZE 8<br>
END<br>
END <br>
END</small></small><br>
<br>
Does vectorsymbol play with negative GAP parameter?<br>
Bartek<br>
<br>
<br>
<br>
</body>
</html>