Browse Source

v.overlay: prefer one-line command (cosmetics) (merge https://trac.osgeo.org/grass/changeset/68966 from trunk)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@68967 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 years ago
parent
commit
7df5612c6d
1 changed files with 3 additions and 7 deletions
  1. 3 7
      vector/v.overlay/v.overlay.html

+ 3 - 7
vector/v.overlay/v.overlay.html

@@ -84,8 +84,7 @@ Preparation of example data (North Carolina sample dataset):
 
 <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 @@ of city of Raleigh, preserving road attributes in layer 1:
 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>