~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to raster3d/r3.stats/description.html

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<H2>DESCRIPTION</H2>
2
2
 
3
 
<EM>r3.stats</EM> calculates volume statistics for raster3d maps.
 
3
<EM>r3.stats</EM> calculates volume statistics for raster3D maps.
4
4
Volumes are created on base of value subranges or groups of equal values.
5
5
The default number of subranges is 20 and can vary from 1 to infinite. 
6
6
Larger subranges will result in larger memory consumption.
9
9
 
10
10
<H2>NOTES</H2>
11
11
 
12
 
As with most GRASS raster3d modules, <EM>r3.univar</EM> operates on the cell
13
 
array defined by the current 3d region settings, not the original extent and
 
12
As with most GRASS raster3D modules, <EM>r3.stats</EM> operates on the cell
 
13
array defined by the current 3D region settings, not the original extent and
14
14
resolution of the input map. See <em><A HREF="g.region.html">g.region</A></em>.
15
15
<P>
16
16
The region setting will not effect the memory consumption of this module.
20
20
if you use large region settings + maps which have many equal value groups (> 100000).
21
21
 
22
22
<H2>EXAMPLES</H2>
23
 
<H3>Lausanne FOSS4G 2006 3d demo dataset example</H3>
 
23
<H3>Lausanne FOSS4G 2006 3D demo dataset example</H3>
24
24
 
25
 
The 3d raster map <em>geology</em> has three values. Each value represents 
 
25
The 3D raster map <em>geology</em> has three values. Each value represents 
26
26
a specific geological layer, clay = 1, sand = 2 and bedrock = 3. To calculate
27
27
the volume of each geological layer, we can use the flag <em>-e</em> to group
28
28
equal values into single volumes. 
50
50
<H3>Generic example</H3>
51
51
 
52
52
<div class="code"><pre>
53
 
#create a small 3d region
 
53
#create a small 3D region
54
54
g.region n=1000 s=0 e=2000 w=0 t=300 b=0 res3=100
55
55
 
56
 
#create a raster3d map with row() and null values
 
56
#create a raster3D map with row() and null values
57
57
r3.mapcalc "volmap = if(row() == 5, null(), row())"
58
58
 
59
59
#run r3.stats with a subrange of 10
102
102
Soeren Gebbert<br>
103
103
 
104
104
<p>
105
 
<i>Last changed: $Date: 2007-03-04 01:24:01 +0100 (dom, 04 mar 2007) $</i>
 
105
<i>Last changed: $Date: 2011-03-18 10:31:26 +0100 (Fri, 18 Mar 2011) $</i>