Hi,

Trying to capture directions in v.distance.

The manual says that to_angle is measured:
"Counterclockwise from positive x axis, in radians, which is between -PI and PI inclusive."

But: I'm getting a value of 0.83 for something which on a compass would be about 170 degrees from North.

If I assume that a line in this direction is  -Pi   ---->
...then I would expect that as we rotate to here <-----
...we approach 0

So I would expect something pointing nearly south to be a value of about 1/2 Pi - not 0.8, anyhow.

Or have I misread the manual?

Richard

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to