[GRASS-SVN] r73811 - grass/trunk/scripts/r.reclass.area
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 16 08:53:43 PST 2018
Author: martinl
Date: 2018-12-16 08:53:43 -0800 (Sun, 16 Dec 2018)
New Revision: 73811
Added:
grass/trunk/scripts/r.reclass.area/zipcodes_larger2000ha.png
grass/trunk/scripts/r.reclass.area/zipcodes_minor1000ha.png
Modified:
grass/trunk/scripts/r.reclass.area/r.reclass.area.html
Log:
r.reclass.area: add figure examples
Modified: grass/trunk/scripts/r.reclass.area/r.reclass.area.html
===================================================================
--- grass/trunk/scripts/r.reclass.area/r.reclass.area.html 2018-12-16 15:18:44 UTC (rev 73810)
+++ grass/trunk/scripts/r.reclass.area/r.reclass.area.html 2018-12-16 16:53:43 UTC (rev 73811)
@@ -3,35 +3,48 @@
<em>r.reclass.area</em> reclasses a raster map greater or
less than a user specified area size (in hectares).
<p>
-If the <em>-c</em> flag is used, <em>r.reclass.area</em> will skip the creation
-of a clumped raster and assume that the input raster is already clumped.
+If the <b>-c</b> flag is used, <em>r.reclass.area</em> will skip the
+creation of a clumped raster and assume that the input raster is
+already clumped.
<h2>EXAMPLES</h2>
-In this example, the ZIP code map in the North Carolina sample dataset location
-is filtered for large areas (removing smaller areas from the map):
+In this example, the ZIP code map in the North Carolina sample dataset
+location is filtered for large areas (removing smaller areas from the
+map).
<div class="code"><pre>
g.region raster=zipcodes -p
r.report zipcodes unit=h
+</pre></div>
-# extract only areas greater than 2000 ha, NULL otherwise:
-r.reclass.area input=zipcodes output=zipcodes_larger2000ha \
- mode=greater value=2000
+Extract only areas greater than 2000 ha, NULL otherwise:
+<div class="code"><pre>
+r.reclass.area input=zipcodes output=zipcodes_larger2000ha mode=greater value=2000
+
r.report zipcodes_larger2000ha unit=h
</pre></div>
-In this example, the ZIP code map in the North Carolina sample dataset location
-is filtered for smaller areas which are substituted with the value of the respective
-adjacent area with largest shared boundary:
+<div align="center" style="margin: 10px">
+<img src="zipcodes_larger2000ha.png" width="800px" height="264px"><br>
+<i>Figure: r.reclass.area method=reclass</i>
+</div>
+In this example, the ZIP code map in the North Carolina sample dataset
+location is filtered for smaller areas which are substituted with the
+value of the respective adjacent area with largest shared
+boundary. Reclass by substitutional removing of areas minor of 1000 ha:
+
<div class="code"><pre>
-# reclass by substitutional removing of areas minor of 1000 ha
-r.reclass.area input=zipcodes output=zipcodes_minor1000ha \
- mode=lesser value=1000 method=rmarea
+r.reclass.area input=zipcodes output=zipcodes_minor1000ha mode=lesser value=1000 method=rmarea
</pre></div>
+<div align="center" style="margin: 10px">
+<img src="zipcodes_minor1000ha.png" width="800px" height="264px"><br>
+<i>Figure: r.reclass.area method=rmarea</i>
+</div>
+
<h2>SEE ALSO</h2>
<em>
Added: grass/trunk/scripts/r.reclass.area/zipcodes_larger2000ha.png
===================================================================
(Binary files differ)
Index: grass/trunk/scripts/r.reclass.area/zipcodes_larger2000ha.png
===================================================================
--- grass/trunk/scripts/r.reclass.area/zipcodes_larger2000ha.png 2018-12-16 15:18:44 UTC (rev 73810)
+++ grass/trunk/scripts/r.reclass.area/zipcodes_larger2000ha.png 2018-12-16 16:53:43 UTC (rev 73811)
Property changes on: grass/trunk/scripts/r.reclass.area/zipcodes_larger2000ha.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
Added: grass/trunk/scripts/r.reclass.area/zipcodes_minor1000ha.png
===================================================================
(Binary files differ)
Index: grass/trunk/scripts/r.reclass.area/zipcodes_minor1000ha.png
===================================================================
--- grass/trunk/scripts/r.reclass.area/zipcodes_minor1000ha.png 2018-12-16 15:18:44 UTC (rev 73810)
+++ grass/trunk/scripts/r.reclass.area/zipcodes_minor1000ha.png 2018-12-16 16:53:43 UTC (rev 73811)
Property changes on: grass/trunk/scripts/r.reclass.area/zipcodes_minor1000ha.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property
More information about the grass-commit
mailing list