瀏覽代碼

example fixed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50305 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 13 年之前
父節點
當前提交
2d81aca85c
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      vector/v.what.rast/v.what.rast.html

+ 4 - 4
vector/v.what.rast/v.what.rast.html

@@ -18,7 +18,7 @@ A) Reading values from raster map at position of vector points, writing these va
    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 @@ v.db.connect -p vectpoints
 # .. 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>