[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
Fri Feb 29 11:34:41 EST 2008


On Thu, Feb 28, 2008 at 9:36 PM, Michael Barton <michael.barton at asu.edu> wrote:
>
>  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
>

Thanks for the update. I don't regularly use either of the GUI and did
not know about this feature. Does the patch that I submitted interfere
with this functionality? I think that it would be useful to have this
functionality in the old style monitors as well.

Cheers,

Dylan


More information about the grass-user mailing list