[GRASS-SVN] r73193 - grass/trunk/vector/v.surf.rst

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 27 08:17:21 PDT 2018


Author: neteler
Date: 2018-08-27 08:17:20 -0700 (Mon, 27 Aug 2018)
New Revision: 73193

Modified:
   grass/trunk/vector/v.surf.rst/v.surf.rst.html
Log:
v.surf.rst manual: example changed from Spearfish to North Carolina dataset

Modified: grass/trunk/vector/v.surf.rst/v.surf.rst.html
===================================================================
--- grass/trunk/vector/v.surf.rst/v.surf.rst.html	2018-08-27 09:48:31 UTC (rev 73192)
+++ grass/trunk/vector/v.surf.rst/v.surf.rst.html	2018-08-27 15:17:20 UTC (rev 73193)
@@ -299,30 +299,31 @@
 use only a subset of the input vectors.
 
 <p>
-Spearfish example (we simulate randomly distributed elevation
-measures):
+North Carolina example (we simulate randomly distributed elevation
+measures which we interpolate to a gap-free elevation surface):
 
 <div class="code"><pre>
-g.region raster=elevation.10m -p
-# random elevation extraction
-r.random elevation.10m vector_output=elevrand n=200
+g.region raster=elevation -p
+# random elevation extraction of 500 samplings
+r.random elevation vector_output=elevrand n=500
 v.info -c elevrand
 v.db.select elevrand
 
 # interpolation based on all points
 v.surf.rst elevrand zcol=value elevation=elev_full
-r.colors elev_full rast=elevation.10m
+# apply the color table of the original raster map
+r.colors elev_full raster=elevation
 d.rast elev_full
 d.vect elevrand
 
 # interpolation based on subset of points (only those over 1300m/asl)
 v.surf.rst elevrand zcol=value elevation=elev_partial where="value > 1300"
-r.colors elev_partial rast=elevation.10m
+r.colors elev_partial raster=elevation
 d.rast elev_partial
 d.vect elevrand where="value > 1300"
 </pre></div>
 
-<h2> REFERENCES</h2>
+<h2>REFERENCES</h2>
 
 <ul>
   <li><a href="http://www4.ncsu.edu/~hmitaso/gmslab/papers/IEEEGRSL2005.pdf">



More information about the grass-commit mailing list