<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi,<br>thx for response.<br><br>I try to set this symbol:<br><br>  SYMBOL<br>    NAME "test"<br>    TYPE vector<br>    FILLED TRUE<br>    POINTS<br>
       0.0 0.0<br>       1.0 0.0<br>       0.5 0.0<br>       0.5 0.5<br>    END<br>    ANCHORPOINT 0.0 0.0<br>  END<br><br></div>But mapserver seem move the line by 0.5.<br><br></div>I show in the attached image (img1) the problem.<br>
</div>The filled green is the real polygon.<br></div>Instead the red is the symbol I try to define with "test".<br></div>As you can see the red line is not in the exact outline but 0.5 moved.<br><br></div>I notice also that if I define this other kind of symbol:<br>
<br>  SYMBOL<br>    NAME "chiodo"<br>    TYPE vector<br>    FILLED TRUE<br>    POINTS<br>       0.0 0.0<br>       1.0 0.0<br>       0.5 0.0<br>#       0.5 0.5<br>    END<br>    ANCHORPOINT 0.0 0.0<br>  END<br><br>
</div>Where I  comment the perpendicul segment,<br></div>the result is a red line exactly on the outline.<br></div>I show this in the img2 attacched.<br><br></div>So mapserver seem move the symbol when there is a perpendicular segment.<br>
<br><div><div>Is this a bug or I don't understand how work the symbols ?<br></div><div><div><div><div><div><div><div><div><div><br></div><div>Thx,<br><br></div><div>Andrea.<br><br></div></div></div></div></div></div></div>
</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/11 thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">try defining the points of your vector symbol such that min(x)=min(y)=0<br>
<div><div class="h5"><br>
On 11 August 2013 10:30, Andrea Peri <<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm having trouble try.ing use the anchorpoint with a vector symbol.<br>
><br>
> Is this working with vectors ?<br>
><br>
> This is what I'm try to do:<br>
><br>
>   SYMBOL<br>
>     NAME "test"<br>
>     TYPE vector<br>
>     FILLED TRUE<br>
>     POINTS<br>
>        0.5 1.0<br>
>        0.5 0.75<br>
>        0.0 0.75<br>
>        1.0 0.75<br>
>     END<br>
>     ANCHORPOINT 0.0 0.0<br>
>   END<br>
><br>
> The anchorpoint seem always set to the 0.5 0.5 position.<br>
><br>
> I'm use the trunk version of mapserver.<br>
><br>
><br>
><br>
> --<br>
> -----------------<br>
> Andrea Peri<br>
> . . . . . . . . .<br>
> qwerty àèìòù<br>
> -----------------<br>
><br>
</div></div>> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br>
</div>