[GRASS-SVN] r53182 - grass/branches/develbranch_6/vector/v.overlay

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 16 02:55:50 PDT 2012


Author: neteler
Date: 2012-09-16 02:55:49 -0700 (Sun, 16 Sep 2012)
New Revision: 53182

Added:
   grass/branches/develbranch_6/vector/v.overlay/v_overlay_census_wake2000.png
   grass/branches/develbranch_6/vector/v.overlay/v_overlay_urban_census2000.png
   grass/branches/develbranch_6/vector/v.overlay/v_overlay_urbanarea.png
Modified:
   grass/branches/develbranch_6/vector/v.overlay/
   grass/branches/develbranch_6/vector/v.overlay/description.html
Log:
+overlay example


Property changes on: grass/branches/develbranch_6/vector/v.overlay
___________________________________________________________________
Modified: svn:ignore
   - *.tmp.html
*OBJ*

   + OBJ.*
*.tmp.html


Modified: grass/branches/develbranch_6/vector/v.overlay/description.html
===================================================================
--- grass/branches/develbranch_6/vector/v.overlay/description.html	2012-09-16 09:52:34 UTC (rev 53181)
+++ grass/branches/develbranch_6/vector/v.overlay/description.html	2012-09-16 09:55:49 UTC (rev 53182)
@@ -44,6 +44,55 @@
 v.overlay ainput=lake binput=province output=lakeXprovince operator=or
 </pre></div>
 
+<h2>EXAMPLE POLYGON TO POLYGON UNION</h2>
+
+Polygon union of urban area and Census 2000 areas (North Carolina dataset):
+
+<div class="code"><pre>
+# input maps
+d.vect urbanarea
+d.vect census_wake2000
+
+# union
+v.overlay ain=census_wake2000 bin=urbanarea out=urban_census2000 operator=or
+
+# show result, graphically zooming a subset
+g.region n=230400 s=223800 w=655800 e=662400
+d.erase
+d.vect urban_census2000
+
+# show merged attribute table
+v.db.select urban_census2000 where="cat=108" -v
+cat|108
+a_cat|98
+a_AREA|231001264
+a_PERIMETE|67804.305
+a_TRACT_|98
+a_TRACT_ID|98
+a_RINGS_OK|1
+a_RINGS_NO|0
+a_ID|98
+a_FIPSSTCO|37183
+a_TRT2000|054108
+a_STFID|37183054108
+a_TRACTID|541.08
+a_TRACT|541.08
+b_cat|55
+b_OBJECTID|55
+b_UA|73261
+b_NAME|Raleigh
+b_UA_TYPE|UA
+</pre></div>
+
+<center>
+<img src="v_overlay_urbanarea.png" alt="GRASS v.overlay: polygon to polygon union (input 1)" border=1>
+<img src="v_overlay_census_wake2000.png" alt="GRASS v.overlay: polygon to polygon union (input 2)" border=1>
+<img src="v_overlay_urban_census2000.png" alt="GRASS v.overlay: polygon to polygon union (result)" border=1>
+<br>
+<i>v.overlay: Polygon union of urban area and Census 2000 areas (North Carolina dataset)</i>
+</center>
+
+
 <h2>EXAMPLE LINE TO POLYGON CLIPPING</h2>
 
 Using the North Carolina sample dataset, we clip the roads map to the area

Added: grass/branches/develbranch_6/vector/v.overlay/v_overlay_census_wake2000.png
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/vector/v.overlay/v_overlay_census_wake2000.png
___________________________________________________________________
Added: svn:mime-type
   + image/png

Added: grass/branches/develbranch_6/vector/v.overlay/v_overlay_urban_census2000.png
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/vector/v.overlay/v_overlay_urban_census2000.png
___________________________________________________________________
Added: svn:mime-type
   + image/png

Added: grass/branches/develbranch_6/vector/v.overlay/v_overlay_urbanarea.png
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/vector/v.overlay/v_overlay_urbanarea.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list