[GRASS-SVN] r60252 - grass/branches/releasebranch_6_4/imagery/i.pca

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 15 14:01:15 PDT 2014


Author: neteler
Date: 2014-05-15 14:01:15 -0700 (Thu, 15 May 2014)
New Revision: 60252

Modified:
   grass/branches/releasebranch_6_4/imagery/i.pca/description.html
   grass/branches/releasebranch_6_4/imagery/i.pca/support.c
Log:
i.pca: fix compilation issue; manual example cosmetics

Modified: grass/branches/releasebranch_6_4/imagery/i.pca/description.html
===================================================================
--- grass/branches/releasebranch_6_4/imagery/i.pca/description.html	2014-05-15 15:50:17 UTC (rev 60251)
+++ grass/branches/releasebranch_6_4/imagery/i.pca/description.html	2014-05-15 21:01:15 UTC (rev 60252)
@@ -49,6 +49,7 @@
 Using Landsat imagery in the North Carolina sample dataset:
 
 <div class="code"><pre>
+g.region rast=lsat7_2002_10 -p
 i.pca in=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70 \
     out=lsat7_2002_pca
 

Modified: grass/branches/releasebranch_6_4/imagery/i.pca/support.c
===================================================================
--- grass/branches/releasebranch_6_4/imagery/i.pca/support.c	2014-05-15 15:50:17 UTC (rev 60251)
+++ grass/branches/releasebranch_6_4/imagery/i.pca/support.c	2014-05-15 21:01:15 UTC (rev 60252)
@@ -76,5 +76,5 @@
     /* only write to stderr the first time (this fn runs for every output map) */
     first_map = FALSE;
 
-    return G_write_history(outname, &hist);
+    G_write_history(outname, &hist);
 }



More information about the grass-commit mailing list