[GRASS-SVN] r60253 - grass/branches/develbranch_6/imagery/i.pca

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


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

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

Modified: grass/branches/develbranch_6/imagery/i.pca/description.html
===================================================================
--- grass/branches/develbranch_6/imagery/i.pca/description.html	2014-05-15 21:01:15 UTC (rev 60252)
+++ grass/branches/develbranch_6/imagery/i.pca/description.html	2014-05-15 21:01:29 UTC (rev 60253)
@@ -55,6 +55,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/develbranch_6/imagery/i.pca/support.c
===================================================================
--- grass/branches/develbranch_6/imagery/i.pca/support.c	2014-05-15 21:01:15 UTC (rev 60252)
+++ grass/branches/develbranch_6/imagery/i.pca/support.c	2014-05-15 21:01:29 UTC (rev 60253)
@@ -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