<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 7:48 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have the feeling I'm missing something, here, and I prefer asking the question here before posting a possible bug report.<br>
<br>
What is the exact meaning of zrot in v.transform ? I would have thought that with no scaling and no shift, zrot would create a simple rotation.<br>
<br>
I create a square as such:<br>
<br>
v.in.lines in=- out=testline sep=, --o << EOF<br>
610000,200000<br>
680000,200000<br>
Nan,Nan<br>
680000,200000<br>
680000,270000<br>
Nan,Nan<br>
680000,270000<br>
610000,270000<br>
Nan,Nan<br>
610000,270000<br>
610000,200000<br>
EOF<br>
<br>
I then try to rotate that squate by 45 degrees:<br>
<br>
v.transform input=testline output=testline45 zrotation=45<br>
<br>
The result is shown the attached image: The rotation works, but I get a shift of about 445km NW. Is this expected ?</blockquote><div><br></div><div>I think the rotation axis is in (0, 0), I would say that is expected behavior, although should be better documented.</div><div><br></div><div>Anna</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
Moritz<br>
</font></span><br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>