[GRASS-SVN] r62905 - grass/trunk/vector/v.mkgrid
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 25 00:17:33 PST 2014
Author: mmetz
Date: 2014-11-25 00:17:33 -0800 (Tue, 25 Nov 2014)
New Revision: 62905
Modified:
grass/trunk/vector/v.mkgrid/v.mkgrid.html
Log:
v.mkgrid: update examples
Modified: grass/trunk/vector/v.mkgrid/v.mkgrid.html
===================================================================
--- grass/trunk/vector/v.mkgrid/v.mkgrid.html 2014-11-25 08:16:22 UTC (rev 62904)
+++ grass/trunk/vector/v.mkgrid/v.mkgrid.html 2014-11-25 08:17:33 UTC (rev 62905)
@@ -79,7 +79,7 @@
<div class="code"><pre>
g.region rast=elevation -p
# we use the row/column/resolution information to determine the grid= values:
-v.mkgrid -p map=pointpattern grid=13,15 position=region breaks=1
+v.mkgrid type=point map=pointpattern grid=13,15 position=region breaks=1
</pre></div>
<p>
@@ -92,13 +92,13 @@
<div class="code"><pre>
# create first set of points, covering extent of "elevation" raster map
g.region rast=elevation -p
-v.mkgrid -p map=pointpattern1 grid=13,15 position=region breaks=1
+v.mkgrid type=point map=pointpattern1 grid=13,15 position=region breaks=1
# shift grid by half point distance (map units)
g.region n=n+500 w=w+500 e=e+500 s=s+500 -p
# create second set of points
-v.mkgrid -p map=pointpattern2 grid=13,15 position=region breaks=1
+v.mkgrid type=point map=pointpattern2 grid=13,15 position=region breaks=1
# merge into final point pattern
v.patch input=pointpattern1,pointpattern2 output=pointpattern3
More information about the grass-commit
mailing list