Re: [GRASS-user] Negative values for r.shaded.relief?

2012-10-23 Thread Glynn Clements
Patrick S. wrote: > I am still trying to understand the output of shaded.relief to compare > to results of collegues created with other tools. > When getting through the script I found the following calculation > > /r.mapcalc << EOF// > //$elev_out = eval( \\// > // cang = sin($alt)*sin(slope)

[GRASS-user] Negative values for r.shaded.relief?

2012-10-22 Thread Patrick S.
Dear list, I am still trying to understand the output of shaded.relief to compare to results of collegues created with other tools. When getting through the script I found the following calculation /r.mapcalc << EOF// //$elev_out = eval( \\// // x=($zmult*$elev[-1,-1] + 2*$zmult*$elev[0,-1] +