[GRASSweb-list]markus: web/grass51/tutorial ex_basic.html,1.10,1.11 index.html,1.26,1.27

grass at intevation.de grass at intevation.de
Thu Dec 11 03:31:42 EST 2003

Author: markus

Update of /grassrepository/web/grass51/tutorial
In directory doto:/tmp/cvs-serv17431

Modified Files:
	ex_basic.html index.html 
Log Message:
added vector clipping

Index: ex_basic.html
RCS file: /grassrepository/web/grass51/tutorial/ex_basic.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ex_basic.html	20 Nov 2003 17:41:02 -0000	1.10
+++ ex_basic.html	11 Dec 2003 08:31:39 -0000	1.11
@@ -460,6 +460,29 @@
 With 'd.what.vect' or another 'db.select' query could can look up the names
 for the station IDs.
+<p><table width="100%" cellpadding="3" border="0">
+<tr><td align="left" bgcolor="#B0F0B0"><font color="#00000"><big><b>
+<a name="clipping"></a>
+Clipping vector maps to a particular region
+<DIV ALIGN=right><a href="#toc">[UP]</a></DIV>
+Clipping vector maps to a particular region is done easily:
+<div class="code"><pre>
+#set region of interest with: d.zoom/g.region
+#create area map with single area of current region:
+v.in.region out=clipregion
+#cut map according to that area map:
+v.overlay ainput=clipregion binput=soils out=soils_clipped operator=and
+#look at the clipped vector map:
+d.vect soils_clipped
 Further <a href=links.html>Links</a> (related software, SQL reference etc).

Index: index.html
RCS file: /grassrepository/web/grass51/tutorial/index.html,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- index.html	2 Dec 2003 16:03:38 -0000	1.26
+++ index.html	11 Dec 2003 08:31:39 -0000	1.27
@@ -124,6 +124,7 @@
   <li><a href="ex_basic.html#db_copy">Example: Copying a database table from one DBMS to another
    within GRASS 5.7</a>
   <li><a href="ex_basic.html#dist">Example: Distances from one climatic station to others </a>
+  <li><a href="ex_basic.html#clipping">Example: Clipping vector maps to a particular region</a>
  <li><a href="ex_complex.html">Complex</a> examples

More information about the grass-web mailing list