[GRASS-SVN] r61038 - grass/trunk/general/g.mlist

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 28 15:18:06 PDT 2014


Author: hcho
Date: 2014-06-28 15:18:06 -0700 (Sat, 28 Jun 2014)
New Revision: 61038

Modified:
   grass/trunk/general/g.mlist/g.mlist.html
Log:
g.mlist: Add more examples

Modified: grass/trunk/general/g.mlist/g.mlist.html
===================================================================
--- grass/trunk/general/g.mlist/g.mlist.html	2014-06-28 22:09:35 UTC (rev 61037)
+++ grass/trunk/general/g.mlist/g.mlist.html	2014-06-28 22:18:06 UTC (rev 61038)
@@ -148,9 +148,10 @@
 <h3>Maps whose region overlaps with a saved region</h3>
 
 List all raster maps starting with "tmp_" whose region overlaps with
-a saved region "myregion":
+the region of "test" raster map:
 <div class="code"><pre>
-g.mlist type=rast pattern='tmp_*' region=myregion
+g.region rast=test save=test_region
+g.mlist type=rast pattern='tmp_*' region=test_region
 </pre></div>
 
 List "tmp0"..."tmp9" vector maps whose region overlaps with
@@ -159,6 +160,16 @@
 g.mlist -r type=vect pattern='^tmp[0-9]$' region=.
 </pre></div>
 
+List all raster and vector maps whose region overlaps with the default region
+of the PERMANENT mapset in the current location (DEFAULT_WIND):
+<div class="code"><pre>
+g.mlist type=rast,vect region=*
+</pre></div>
+
+Note that, without <tt>region=*</tt>, <tt>g.mlist type=rast,vect</tt> simply
+lists all available raster and vector maps from the current search path
+regardless of their region.
+
 <h2>SEE ALSO</h2>
 
 <em>



More information about the grass-commit mailing list