[GRASS-SVN] r68966 - grass/branches/releasebranch_7_2/vector/v.overlay

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 14 12:55:09 PDT 2016


Author: martinl
Date: 2016-07-14 12:55:09 -0700 (Thu, 14 Jul 2016)
New Revision: 68966

Modified:
   grass/branches/releasebranch_7_2/vector/v.overlay/v.overlay.html
Log:
v.overlay: prefer one-line command (cosmetics) (merge r68965 from trunk)

Modified: grass/branches/releasebranch_7_2/vector/v.overlay/v.overlay.html
===================================================================
--- grass/branches/releasebranch_7_2/vector/v.overlay/v.overlay.html	2016-07-14 19:54:11 UTC (rev 68965)
+++ grass/branches/releasebranch_7_2/vector/v.overlay/v.overlay.html	2016-07-14 19:55:09 UTC (rev 68966)
@@ -84,8 +84,7 @@
 
 <div class="code"><pre>
 # Create an empty box for overlaying to ZIP code vector map
-v.mkgrid map=box grid=1,1 position=coor \
-         coordinates=584037.093198,201970.387191 box=50000,50000
+v.mkgrid map=box grid=1,1 position=coor coordinates=584037,201970 box=50000,50000
 
 # set region to ZIP codes and box vector maps
 g.region vector=zipcodes_wake,box -p res=100 -a
@@ -255,13 +254,10 @@
 g.region vector=zipcodes_wake
 
 # extract Raleigh city:
-v.extract in=zipcodes_wake out=raleigh \
-            where="ZIPNAME = 'RALEIGH'"
+v.extract in=zipcodes_wake out=raleigh where="ZIPNAME = 'RALEIGH'"
 
 # clip road network to city polygon:
-v.overlay ainput=roadsmajor atype=line binput=raleigh \
-            out=roadsmajor_raleigh operator=and \
-	    olayer=0,1,0
+v.overlay ainput=roadsmajor atype=line binput=raleigh out=roadsmajor_raleigh operator=and olayer=0,1,0
 </pre></div>
 
 <center>



More information about the grass-commit mailing list