[GRASS-SVN] r65262 - grass/trunk/raster/r.surf.idw

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 17 10:24:47 PDT 2015


Author: neteler
Date: 2015-05-17 10:24:47 -0700 (Sun, 17 May 2015)
New Revision: 65262

Modified:
   grass/trunk/raster/r.surf.idw/r.surf.idw.html
Log:
r.surf.idw manual: commented example added (needs #2672 to be fixed)

Modified: grass/trunk/raster/r.surf.idw/r.surf.idw.html
===================================================================
--- grass/trunk/raster/r.surf.idw/r.surf.idw.html	2015-05-17 12:42:33 UTC (rev 65261)
+++ grass/trunk/raster/r.surf.idw/r.surf.idw.html	2015-05-17 17:24:47 UTC (rev 65262)
@@ -78,6 +78,27 @@
 This procedure may be helpful in choosing the number of nearest neighbors
 considered for surface generation.
 
+<!-- requires https://trac.osgeo.org/grass/ticket/2672 to be fixed:
+
+<h2>EXAMPLE</h2>
+
+Interpolation of raster surface from randomly sampled vector elevation
+points (North Carolina sample dataset region):
+
+<div class="code"><pre>
+g.region vector=elev_lid792_randpts res=1 -p
+# rasterize points
+v.to.rast input=elev_lid792_randpts use=attr attribute_column=value \
+          output=elev_lid792_randpts_1m
+# interpolation DEM
+r.surf.idw input=elev_lid792_randpts_1m output=elev_surf_1m_idw
+
+# validate: differences to original DEM
+r.mapcalc "elev_diff = elev_lid792_1m - elev_surf_1m_idw"
+r.colors map=elev_diff color=differences
+</pre></div>
+-->
+
 <h2>KNOWN ISSUES</h2>
 Module <em>r.surf.idw</em> works only for integer (CELL) raster maps.
 



More information about the grass-commit mailing list