Просмотр исходного кода

r.resamp.rst manual: example added

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@59838 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 лет назад
Родитель
Сommit
80f6d4f8b7
1 измененных файлов с 18 добавлено и 0 удалено
  1. 18 0
      raster/r.resamp.rst/r.resamp.rst.html

+ 18 - 0
raster/r.resamp.rst/r.resamp.rst.html

@@ -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>,