<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><br></div>Hello, I'm trying to understand symbol orientation and (maybe) use of ANCHORPOINT on a line in Mapserver 6.2. <br><br>The vector symbol that I have been using for line cartography in MapServer 6.0.3 is below, and I am trying to get the same effect in Mapserver 6.2.1.<br>
<br>SYMBOL<br>  NAME "wavy_line"<br>  TYPE vector<br>  POINTS<br>    0 0<br>    1 1<br>    2 1<br>    3 0<br>    4 -1<br>    5 -1<br>    6 0<br>  END<br>END<br><br></div>Display in Mapserver 6.0.3:<br><a href="https://dl.dropboxusercontent.com/u/42845001/mapserver6.0.3.png">https://dl.dropboxusercontent.com/u/42845001/mapserver6.0.3.png</a><br>
<br></div>Relevant Style bloc from Mapserver 6.0.3:<br><br></div>STYLE<br></div>     SYMBOL "wavy_line"<br></div>     WIDTH 1<br></div>     SIZE 2<br></div>     GAP -1<br></div>     COLOR 0 0 0<br></div>END<br><div>
<div><div><div><div><div><div><div><div><div><br></div><div>This did not translate directly to Mapserver 6.2.1, but I came close with this:<br><br>STYLE<br>    SYMBOL "wavy_line"<br>     WIDTH 1 <br>     SIZE 4<br>
     GAP 6<br>     COLOR 0 0 0<br>END<br><br></div><div>which produced this:<br><a href="https://dl.dropboxusercontent.com/u/42845001/mapserver6.2.1.png">https://dl.dropboxusercontent.com/u/42845001/mapserver6.2.1.png</a><br>
<br></div><div>Obviously I am missing something about how to get the symbol to orient along the line, I played with ANCHORPOINT as that  was new in 6.2 and it seemed like the default of 0.5 0.5  should work for my symbol, but I also tried several other value combinations and it seemed to merely shift the symbol around laterally, while maintaining an upright orientation. <br>
<br>So I'm a bit confused on how to achieve the original effect, (behavior something like the equivalent of FOLLOW for Labels). Any pointers appreciated...<br></div></div></div></div></div></div></div></div></div></div>
</div>