[GRASS-SVN] r46200 - grass-addons/raster/r.viewshed
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 6 04:26:38 EDT 2011
Author: hamish
Date: 2011-05-06 01:26:38 -0700 (Fri, 06 May 2011)
New Revision: 46200
Modified:
grass-addons/raster/r.viewshed/grass.cc
grass-addons/raster/r.viewshed/main.cc
grass-addons/raster/r.viewshed/viewshed.cc
Log:
minor caps
Modified: grass-addons/raster/r.viewshed/grass.cc
===================================================================
--- grass-addons/raster/r.viewshed/grass.cc 2011-05-06 07:30:56 UTC (rev 46199)
+++ grass-addons/raster/r.viewshed/grass.cc 2011-05-06 08:26:38 UTC (rev 46200)
@@ -1,4 +1,3 @@
-
/****************************************************************************
*
* MODULE: r.viewshed
@@ -173,7 +172,7 @@
MemoryVisibilityGrid * visgrid)
{
- G_message(_("computing events ..."));
+ G_message(_("Computing events ..."));
assert(eventList && vp && visgrid);
//GRASS should be defined
@@ -400,7 +399,7 @@
IOVisibilityGrid * visgrid)
{
- G_message(_("computing events ..."));
+ G_message(_("Computing events ..."));
assert(rastName && vp && hd && visgrid);
if (data != NULL) {
Modified: grass-addons/raster/r.viewshed/main.cc
===================================================================
--- grass-addons/raster/r.viewshed/main.cc 2011-05-06 07:30:56 UTC (rev 46199)
+++ grass-addons/raster/r.viewshed/main.cc 2011-05-06 08:26:38 UTC (rev 46200)
@@ -643,15 +643,15 @@
G_verbose_message("TOTAL TIMING:");
rt_sprint_safe(timeused, sweepTime);
- G_verbose_message("sweep: %s", timeused);
+ G_verbose_message("Sweep: %s", timeused);
G_verbose_message("\n");
rt_sprint_safe(timeused, outputTime);
- G_verbose_message("output: %s", timeused);
+ G_verbose_message("Output: %s", timeused);
G_verbose_message("\n");
rt_sprint_safe(timeused, totalTime);
- G_verbose_message("total: %s", timeused);
+ G_verbose_message("Total: %s", timeused);
G_verbose_message("\n");
}
@@ -669,10 +669,10 @@
G_verbose_message("\n\nTOTAL TIMING:");
rt_sprint_safe(timeused, viewshedTime);
- G_verbose_message("total sweep: %s", timeused);
+ G_verbose_message("Total sweep: %s", timeused);
rt_sprint_safe(timeused, sortOutputTime);
- G_verbose_message("sort output: %s", timeused);
+ G_verbose_message("Sort output: %s", timeused);
rt_sprint_safe(timeused, outputTime);
G_verbose_message("Write result grid: %s", timeused);
Modified: grass-addons/raster/r.viewshed/viewshed.cc
===================================================================
--- grass-addons/raster/r.viewshed/viewshed.cc 2011-05-06 07:30:56 UTC (rev 46199)
+++ grass-addons/raster/r.viewshed/viewshed.cc 2011-05-06 08:26:38 UTC (rev 46200)
@@ -1,4 +1,3 @@
-
/****************************************************************************
*
* MODULE: r.viewshed
@@ -101,15 +100,15 @@
char timeused[1000];
- G_verbose_message(_("sweep timings:"));
+ G_verbose_message(_("Sweep timings:"));
rt_sprint_safe(timeused, initEventTime);
- G_verbose_message("init events: %s", timeused);
+ G_verbose_message("Init events: %s", timeused);
rt_sprint_safe(timeused, sortEventTime);
- G_verbose_message("sort events: %s", timeused);
+ G_verbose_message("Sort events: %s", timeused);
rt_sprint_safe(timeused, sweepTime);
- G_verbose_message("process events: %s", timeused);
+ G_verbose_message("Process events: %s", timeused);
return;
}
@@ -239,7 +238,7 @@
Rtimer sortEventTime;
rt_start(sortEventTime);
- G_verbose_message(_("sorting events..."));
+ G_verbose_message(_("Sorting events..."));
fflush(stdout);
/*this is recursive and seg faults for large arrays
@@ -252,7 +251,7 @@
RadialCompare cmpObj;
quicksort(eventList, nevents, cmpObj);
- G_verbose_message(_("done"));
+ G_verbose_message(_("Done."));
fflush(stdout);
rt_stop(sortEventTime);
More information about the grass-commit
mailing list