[GRASS-SVN] r73194 - grass/branches/releasebranch_7_4/vector/v.surf.rst

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


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

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

Modified: grass/branches/releasebranch_7_4/vector/v.surf.rst/v.surf.rst.html
===================================================================
--- grass/branches/releasebranch_7_4/vector/v.surf.rst/v.surf.rst.html	2018-08-27 15:17:20 UTC (rev 73193)
+++ grass/branches/releasebranch_7_4/vector/v.surf.rst/v.surf.rst.html	2018-08-27 15:17:54 UTC (rev 73194)
@@ -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