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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 14 07:39:17 EST 2008


Author: hamish
Date: 2008-12-14 07:39:17 -0500 (Sun, 14 Dec 2008)
New Revision: 34866

Modified:
   grass-addons/raster/r.viewshed/grass.cc
Log:
typo

Modified: grass-addons/raster/r.viewshed/grass.cc
===================================================================
--- grass-addons/raster/r.viewshed/grass.cc	2008-12-14 11:25:21 UTC (rev 34865)
+++ grass-addons/raster/r.viewshed/grass.cc	2008-12-14 12:39:17 UTC (rev 34866)
@@ -115,12 +115,13 @@
     /*fill in rest of header */
     hd->xllcorner = G_col_to_easting(0, region);
     hd->yllcorner = G_row_to_northing(0, region);
-    /*Cell_head stores 2 resolutions, while GridHeader only stores 1
-       //make sure the two Cell_head resolutions are equal */
+    /* Cell_head stores 2 resolutions, while GridHeader only stores 1 */
+       // make sure the two Cell_head resolutions are equal
     if (fabs(region->ew_res - region->ns_res) > .001) {
-	G_warning(_("East-west resolution does not equal north-south resolutio. The viewshed computation assumes the cells are square, so in this case this may result in innacuracies."));
+	G_warning(_("East-west resolution does not equal north-south resolution. "
+		    "The viewshed computation assumes the cells are square, so in "
+		    "this case this may result in innacuracies."));
 	//    exit(EXIT_FAILURE);
-	//     
     }
     hd->cellsize = (float)region->ew_res;
     //store the null value of the map



More information about the grass-commit mailing list