[GRASS-user] azimuth of lines with v.to.db?

Dylan Beaudette dylan.beaudette at gmail.com
Sat Oct 13 23:22:12 EDT 2007


On Saturday 13 October 2007, Carlos "Guâno" Grohmann wrote:
> I think I already asked this, but without much success, so here is:
> can I use v.to.db to get the azimuth of a line? I am thinking in
> lineament analysis, so it's a simple line, just two end vertices.
>
> thanks
>
> Carlos


Can you calculate it from the end points ? 

Like this:

http://casoilresource.lawr.ucdavis.edu/drupal/node/468


.... except that the calculation I am doing is in R. atan2() should exist in 
the c library, so adding it to GRASS should be a small effort.


Dylan

-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341




More information about the grass-user mailing list