[GRASS-SVN] r33992 - grass-addons/raster/r.viewshed

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 23 10:39:30 EDT 2008


Author: neteler
Date: 2008-10-23 10:39:30 -0400 (Thu, 23 Oct 2008)
New Revision: 33992

Modified:
   grass-addons/raster/r.viewshed/main.cc
   grass-addons/raster/r.viewshed/visibility.h
Log:
minor typos fixed

Modified: grass-addons/raster/r.viewshed/main.cc
===================================================================
--- grass-addons/raster/r.viewshed/main.cc	2008-10-23 12:01:24 UTC (rev 33991)
+++ grass-addons/raster/r.viewshed/main.cc	2008-10-23 14:39:30 UTC (rev 33992)
@@ -224,8 +224,7 @@
 	if (viewOptions.ellps_a == 0) { 
 	  /*according to r.los, this can be
 		problematic, so we'll have a backup, hardcoded radius :-( */
-	  G_warning(_
-				("Problems obtaining current ellipsoid parameters, usting sphere (6370997.0)"));
+	  G_warning(_("Problems obtaining current ellipsoid parameters, using sphere (6370997.0)"));
 	  viewOptions.ellps_a = 6370997.00;
 	}
 #else

Modified: grass-addons/raster/r.viewshed/visibility.h
===================================================================
--- grass-addons/raster/r.viewshed/visibility.h	2008-10-23 12:01:24 UTC (rev 33991)
+++ grass-addons/raster/r.viewshed/visibility.h	2008-10-23 14:39:30 UTC (rev 33992)
@@ -116,7 +116,7 @@
   /*determines if the curvature of the earth should be considered
 	when calculating.  Only implemented for GRASS version. */
 
-  double ellps_a; /* the parameter of teh ellipsoid */
+  double ellps_a; /* the parameter of the ellipsoid */
   float cellsize; /* the cell resolution */
 } ViewOptions; 
 



More information about the grass-commit mailing list