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

Michael Barton michael.barton at asu.edu
Fri Feb 29 00:36:08 EST 2008


On Feb 28, 2008, at 6:32 PM, grass-user-request at lists.osgeo.org wrote:

> Date: Thu, 28 Feb 2008 16:17:17 -0800
> From: Dylan Beaudette <dylan.beaudette at gmail.com>
> Subject: Re: [GRASS-user] How to find out an angle between to points
> 	on the	map (for r.plane, r.lake)
> To: grass-user at lists.osgeo.org
> Message-ID: <200802281617.17608.dylan.beaudette at gmail.com>
> Content-Type: text/plain; charset="iso-8859-15"
>
> 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

In the new wxPython GUI, the measure tool prints bearing as well as  
distance between click points.

Michael



More information about the grass-user mailing list