[GRASS-SVN] r72963 - grass/branches/releasebranch_7_4/raster/r.patch

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 7 15:28:28 PDT 2018


Author: neteler
Date: 2018-07-07 15:28:27 -0700 (Sat, 07 Jul 2018)
New Revision: 72963

Modified:
   grass/branches/releasebranch_7_4/raster/r.patch/r.patch.html
Log:
r.patch manual: minor example cosmetics

Modified: grass/branches/releasebranch_7_4/raster/r.patch/r.patch.html
===================================================================
--- grass/branches/releasebranch_7_4/raster/r.patch/r.patch.html	2018-07-07 22:27:45 UTC (rev 72962)
+++ grass/branches/releasebranch_7_4/raster/r.patch/r.patch.html	2018-07-07 22:28:27 UTC (rev 72963)
@@ -157,7 +157,7 @@
 r.patch input=roads,water,forest output=result
 </pre></div>
 
-<h3>Example using Bash syntax</h3>
+<h3>Map mosaic example using Bash syntax</h3>
 
 Create a list of maps matching a pattern, extend the region to include them
 all, and patch them together to create a mosaic. Overlapping maps will be 
@@ -164,9 +164,9 @@
 used in the order listed.
 
 <div class="code"><pre>
-MAPS=`g.list type=raster sep=, pat="map_*"`
-g.region raster=$MAPS
-r.patch in=$MAPS out=mosaic
+MAPS=`g.list type=raster separator=comma pat="map_*"`
+g.region raster=$MAPS -p
+r.patch input=$MAPS output=maps_mosaic
 </pre></div>
 
 



More information about the grass-commit mailing list