[GRASS-SVN] r72962 - grass/trunk/raster/r.patch
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jul 7 15:27:45 PDT 2018
Author: neteler
Date: 2018-07-07 15:27:45 -0700 (Sat, 07 Jul 2018)
New Revision: 72962
Modified:
grass/trunk/raster/r.patch/r.patch.html
Log:
r.patch manual: minor example cosmetics
Modified: grass/trunk/raster/r.patch/r.patch.html
===================================================================
--- grass/trunk/raster/r.patch/r.patch.html 2018-07-07 20:09:46 UTC (rev 72961)
+++ grass/trunk/raster/r.patch/r.patch.html 2018-07-07 22:27:45 UTC (rev 72962)
@@ -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