[GRASS-SVN] r50305 - grass/trunk/vector/v.what.rast

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 19 16:47:02 EST 2012


Author: neteler
Date: 2012-01-19 13:47:02 -0800 (Thu, 19 Jan 2012)
New Revision: 50305

Modified:
   grass/trunk/vector/v.what.rast/v.what.rast.html
Log:
example fixed

Modified: grass/trunk/vector/v.what.rast/v.what.rast.html
===================================================================
--- grass/trunk/vector/v.what.rast/v.what.rast.html	2012-01-19 17:42:27 UTC (rev 50304)
+++ grass/trunk/vector/v.what.rast/v.what.rast.html	2012-01-19 21:47:02 UTC (rev 50305)
@@ -18,7 +18,7 @@
    into column of vector map:
 <br>
 <div class="code"><pre>
-v.what.rast vect=pnts rast=elevation col=heights
+v.what.rast map=pnts raster=elevation column=heights
 </pre></div>
 
 <p>B) In case of a vector map without attached attribute table, first add
@@ -30,16 +30,16 @@
 # .. no table yet.
 
 # add new table, link to map:
-v.db.addtable vectpoints col="cat integer, myvalue integer, otherval double precision"
+v.db.addtable vectpoints column="cat integer, myvalue integer, otherval double precision"
 
 # query raster map and upload values to vector table into specified column:
-v.what.rast vect=vectpoints rast=rastmap col=myvalue
+v.what.rast map=vectpoints raster=rastmap column=myvalue
 
 # verify new attribute table:
 v.db.select vectpoints
 
 # verify statistics of uploaded values:
-v.univar map=vectpoints col=myvalue type=point
+v.univar map=vectpoints column=myvalue type=point
 </pre></div>
 
 <h2>SEE ALSO</h2>



More information about the grass-commit mailing list