surface area

Malcolm Williamson malcolm at cast.uark.edu
Wed Jan 21 11:12:35 EST 1998


On Wed, 21 Jan 1998, Angus Carr wrote:

> First, calculate the surface areas of individual cells using a slope map,
> then generate a sum of the cell values, using r.stats and a spreadsheet.
                                                  ^^^^^^^^^^^^^^^^^^
r.stats -1z input=surface_area_map | awk '{ areasum+=$1 } END{ print 
areasum}'

will save you from having to export to a spreadsheet.
	-Malcolm




> Good Luck
> Angus.
> 
> On Tue, 20 Jan 1998, Frank Lederer wrote:
> 
> > Hi GRASS community,
> > 
> > is it possible to calculate the surface area of a 3d (not 2d!!) surface (DEM)?
> > 
> > Thanks in advance
> >                 Frank
> > 
> > 
> > 
> >    		Frank Lederer
> >    		Sandweg 64
> >    		60316 Frankfurt/Main        
> >    		Germany 
> > 
> > 
> > 		Lederer at em.uni-frankfurt.de
> > 		phone: ++49-069-4960545
> > 
> > 
> 
> 



More information about the grass-user mailing list