[GRASS-dev] Re: [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
Sun Mar 2 21:40:35 EST 2008


On Sunday 02 March 2008, Michael Barton wrote:
> On Mar 2, 2008, at 6:15 PM, Helena Mitasova wrote:
> > This reminds me - was the patch below submitted to SVN?
> > Do we have a procedure (dedicated person) for keeping
> > track of patches submitted through track
> > and making sure they get submitted if appropriate?
> >
> > This angle is also needed to derive pre-defined flow (e.g.
> > ditches or pipes that are not in the DEM) as inputs into simwe -
> > I used m.cogo for that but d.measure is much more convenient.
> >
> > Thanks for adding it,
>
> I just tried to check out any updates to d.measure and found that it
> doesn't run on my Mac. It produces a bus error. I don't need it, but
> folks should be aware of this.
>
> Michael

I do not have access to a Mac, but the module seems to compile and run fine on 
Linux x86. 

Could it be the call to atan2() -- perhaps the math library is not accessed 
the same way on Mac OS X ? 

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


More information about the grass-dev mailing list