|
@@ -94,6 +94,24 @@ proper interpolation along the border of the mask. It therefore does not
|
|
|
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>,
|