[GRASS-SVN] r45348 - grass/branches/releasebranch_6_4/vector/v.overlay

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 9 09:45:13 EST 2011


Author: neteler
Date: 2011-02-09 06:45:13 -0800 (Wed, 09 Feb 2011)
New Revision: 45348

Modified:
   grass/branches/releasebranch_6_4/vector/v.overlay/description.html
Log:
line example

Modified: grass/branches/releasebranch_6_4/vector/v.overlay/description.html
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.overlay/description.html	2011-02-09 14:43:21 UTC (rev 45347)
+++ grass/branches/releasebranch_6_4/vector/v.overlay/description.html	2011-02-09 14:45:13 UTC (rev 45348)
@@ -39,12 +39,28 @@
 it! Therefore it is advisable to copy tables from ainput and binput first and
 connect the copied tables to the output map.-->
 
-<h2>EXAMPLE</h2>
+<h2>EXAMPLE POLYGON TO POLYGON UNION</h2>
 <div class="code"><pre>
-v.overlay ainput=lake binput=province output=lakeXprovince
+v.overlay ainput=lake binput=province output=lakeXprovince operator=or
 </pre></div>
 
+<h2>EXAMPLE LINE TO POLYGON CLIPPING</h2>
 
+Using the North Carolina sample dataset, we clip the roads map to the area
+of city of Raleigh:
+<div class="code"><pre>
+g.region vect=zipcodes_wake
+
+# extract Raleigh city
+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
+</pre></div>
+
+
 <h2>SEE ALSO</h2>
 
 <em>



More information about the grass-commit mailing list