[GRASSLIST:3373] Re: Calculating cumulative change in elevation.

Ben Logan ben at wblogan.net
Mon Mar 25 06:12:02 EST 2002


On Sun, Mar 24, 2002 at 09:00:04PM -0700, Roger Miller wrote:
> 
> Well, if you just accumulate the change in elevation along any route then 
> your result will be equal to the difference between your beginning and ending 
> elevations, so i suspect you mean something else.  Do you mean to produce two 
> values, one for ascent and one for descent?

Right.  I mean produce two values as you say.
 
> You might be able to do something with r.cost.  You would need to construct a 
> raster map that gives the change in elevation along the road.  It wouldn't be 
> at all straight foreward.

That does sound complicated (perhaps just because I've never used
r.cost).  I think I'll try Mr. Paterson's suggestion, and if that
doesn't work, I'll pursue this one.

Thanks for your help,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0

Seeing is believing.  You wouldn't have seen it if you hadn't believed it.



More information about the grass-user mailing list