瀏覽代碼

v.rast.stats: update manual for https://trac.osgeo.org/grass/ticket/3555

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72669 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 年之前
父節點
當前提交
5a1b58b8aa
共有 1 個文件被更改,包括 10 次插入9 次删除
  1. 10 9
      scripts/v.rast.stats/v.rast.stats.html

+ 10 - 9
scripts/v.rast.stats/v.rast.stats.html

@@ -5,17 +5,18 @@ a raster map only for the parts covered by the specified vector map.
 The vector map will be rasterized according to the raster map resolution.
 The vector map will be rasterized according to the raster map resolution.
 Then univariate statistics are calculated per vector category (cat) from
 Then univariate statistics are calculated per vector category (cat) from
 the raster map and the results uploaded to the vector map attribute table.
 the raster map and the results uploaded to the vector map attribute table.
-A new column is generated in the attribute table for each statistic requested 
+A new column is generated in the attribute table for each statistic requested
 in <b>method</b> (if not already present).
 in <b>method</b> (if not already present).
 <p>
 <p>
-The univariate statistics include the number of raster cells counted, minimum
+The univariate statistics include the number of raster cells counted,
+the number of raster NULL cells counted, minimum
 and maximum cell values, range, average, <!-- r.univar: arithmetic mean -->
 and maximum cell values, range, average, <!-- r.univar: arithmetic mean -->
 standard deviation, variance, coefficient of variation, sum, first quartile,
 standard deviation, variance, coefficient of variation, sum, first quartile,
 median, third quartile, and percentile.
 median, third quartile, and percentile.
 
 
 <h2>NOTES</h2>
 <h2>NOTES</h2>
 <em>v.rast.stats</em> is only meaningful for lines or polygons.
 <em>v.rast.stats</em> is only meaningful for lines or polygons.
-<p> 
+<p>
 The module may take a long time to run if the raster region contains a large
 The module may take a long time to run if the raster region contains a large
 number of cells. In this case the <b>--verbose</b> flag may be used to track
 number of cells. In this case the <b>--verbose</b> flag may be used to track
 progress.
 progress.
@@ -31,10 +32,10 @@ will be chopped off.
 <p>If a MASK is present, it will be restored after the script finished.
 <p>If a MASK is present, it will be restored after the script finished.
 The script changes temporarily to the resolution of the given raster map.
 The script changes temporarily to the resolution of the given raster map.
 <p><!-- r.univar limitation -->
 <p><!-- r.univar limitation -->
-Large amounts of system memory can be used when extended statistics 
-(<em>first_quartile,median,third_quartile,percentile </em>) are being requested 
-with a very large region setting. If the region is too large the module 
-should display memory allocation errors. Basic statistics can be calculated 
+Large amounts of system memory can be used when extended statistics
+(<em>first_quartile,median,third_quartile,percentile </em>) are being requested
+with a very large region setting. If the region is too large the module
+should display memory allocation errors. Basic statistics can be calculated
 using any size input region.
 using any size input region.
 
 
 <h2>EXAMPLES</h2>
 <h2>EXAMPLES</h2>
@@ -46,7 +47,7 @@ Example to upload DEM statistics to ZIP codes vector map
 g.copy vect=zipcodes_wake,myzipcodes_wake
 g.copy vect=zipcodes_wake,myzipcodes_wake
 # set computational region to DEM:
 # set computational region to DEM:
 g.region raster=elevation -p
 g.region raster=elevation -p
-# calculate DEM statistics, upload to vector map table:
+# calculate selected DEM statistics, upload to vector map table:
 v.rast.stats myzipcodes_wake raster=elevation \
 v.rast.stats myzipcodes_wake raster=elevation \
   column_prefix=elev method=minimum,maximum,average,range,stddev,percentile \
   column_prefix=elev method=minimum,maximum,average,range,stddev,percentile \
   percentile=95
   percentile=95
@@ -59,7 +60,7 @@ v.univar myzipcodes_wake column=elev_range type=centroid
 <h2>SEE ALSO</h2>
 <h2>SEE ALSO</h2>
 
 
 <em>
 <em>
-<a href="r.univar.html">r.univar</a>, 
+<a href="r.univar.html">r.univar</a>,
 <a href="v.univar.html">v.univar</a>,
 <a href="v.univar.html">v.univar</a>,
 <a href="v.vect.stats.html">v.vect.stats</a>,
 <a href="v.vect.stats.html">v.vect.stats</a>,
 <a href="v.what.rast.html">v.what.rast</a>,
 <a href="v.what.rast.html">v.what.rast</a>,