瀏覽代碼

fix broken script; update HTML

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48090 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 13 年之前
父節點
當前提交
d076069990
共有 2 個文件被更改,包括 10 次插入10 次删除
  1. 9 9
      scripts/i.image.mosaic/i.image.mosaic.html
  2. 1 1
      scripts/i.image.mosaic/i.image.mosaic.py

+ 9 - 9
scripts/i.image.mosaic/i.image.mosaic.html

@@ -1,18 +1,18 @@
-<H2>DESCRIPTION</H2>
-
-
-<EM>i.image.mosaic</EM> Mosaics several images or raster maps using map calculator, and extends colormap to range of all images.
-<br>
+<h2>DESCRIPTION</h2>
 
+<em>i.image.mosaic</em> mosaics several images or raster maps using the
+GRASS GIS map calculator, and extends the colormap to the range of all images.
 
 <H2>SEE ALSO</H2>
 
-<EM><A HREF="r.patch.html">r.patch</A></EM>,
-<EM><A HREF="r.mapcalc.html">r.mapcalc</A></EM>,
+<em>
+<a href="r.patch.html">r.patch</a>,
+<a href="r.mapcalc.html">r.mapcalc</a>
+</em>
 
-
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
 
 Markus Neteler, ITC-Irst, Trento, Italy
 Updated to GRASS 5.7 by Michael Barton, Arizona State University
+
 <p><i>Last changed: $Date$</i>

+ 1 - 1
scripts/i.image.mosaic/i.image.mosaic.py

@@ -59,7 +59,7 @@ def make_expression(i, count):
 	return "if(isnull($image%d),%s,$image%d+$offset%d)" % (i, e, i, i)
 
 def main():
-    images = options['images'].split(',')
+    images = options['input'].split(',')
     output = options['output']
 
     count = len(images)