[GRASS-user] How to find out an angle between to points on the map (for r.plane, r.lake)

Dylan Beaudette dylan.beaudette at gmail.com
Thu Feb 28 20:33:18 EST 2008


On Thursday 28 February 2008, Dylan Beaudette wrote:
> On Thursday 28 February 2008, Philipp Steigenberger wrote:
> > Hi
> > I want to work with r.plane and r.lake to get simulate floodings in DTMs.
> >
> > In the section of interest there is a river which runs from about SSW to
> > NNE. For r.plane I need the
> > azimuth. Is there a tool in GRASS which tells me the angle between two
> > points I mark on the map like I can measure in between two points with
> > d.measure?
>
> Well of course I had to go and try this out.
>
> attached is a patch (against todays SVN) to optionally print the bearing
> between clicks.
>
> Dylan

And of course here is an updated patch which computes bearing from 0 (math 
style North = 90 deg) or from 90 (compass style North = 0 deg).



-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d.measure_bearing.patch
Type: text/x-diff
Size: 4245 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20080228/68a62a72/d.measure_bearing-0001.bin


More information about the grass-user mailing list