[GRASS-SVN] r59841 - grass/branches/releasebranch_6_4/raster/r.resamp.rst
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 20 10:36:58 PDT 2014
Author: neteler
Date: 2014-04-20 10:36:58 -0700 (Sun, 20 Apr 2014)
New Revision: 59841
Modified:
grass/branches/releasebranch_6_4/raster/r.resamp.rst/description.html
Log:
r.resamp.rst manual: example added
Modified: grass/branches/releasebranch_6_4/raster/r.resamp.rst/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.resamp.rst/description.html 2014-04-20 17:36:44 UTC (rev 59840)
+++ grass/branches/releasebranch_6_4/raster/r.resamp.rst/description.html 2014-04-20 17:36:58 UTC (rev 59841)
@@ -111,6 +111,24 @@
mask out the data points; if this is desirable, it must be done outside
<i>r.resamp.rst</i> before processing.
+<h2>EXAMPLE</h2>
+
+Resampling the Spearfish 30m resolution elevation model to 15m:
+
+<div class="code"><pre>
+# set computation region to original map (30m)
+g.region rast=elevation.dem -p
+
+# resample to 15m
+r.resamp.rst input=elevation.dem ew_res=15 ns_res=15 elev=elev15
+
+# set computation region to resulting map
+g.region rast=elev15 -p
+
+# verify
+r.univar elev15 -g
+</pre></div>
+
<h2>SEE ALSO</h2>
<a href="g.region.html">g.region</a>,
More information about the grass-commit
mailing list