[GRASS-SVN] r58258 - grass-addons/grass7/vector/v.surf.mass

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 20 03:46:06 PST 2013


Author: neteler
Date: 2013-11-20 03:46:05 -0800 (Wed, 20 Nov 2013)
New Revision: 58258

Modified:
   grass-addons/grass7/vector/v.surf.mass/main.c
Log:
v.surf.mass: G_percent() for reading areas/db data

Modified: grass-addons/grass7/vector/v.surf.mass/main.c
===================================================================
--- grass-addons/grass7/vector/v.surf.mass/main.c	2013-11-19 16:27:22 UTC (rev 58257)
+++ grass-addons/grass7/vector/v.surf.mass/main.c	2013-11-20 11:46:05 UTC (rev 58258)
@@ -253,8 +253,10 @@
     areas[i].adj = 0;
     areas[i].avgdiff = 0;
 
+    G_debug(1, "Starting to read from areas...");
     for (i = 1; i <= nareas; i++) {
 
+	G_percent(i, nareas, 2);
 	areas[i].count = 0;
 	areas[i].value = outside_val;
 	areas[i].interp = 0;



More information about the grass-commit mailing list