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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 30 04:35:50 EDT 2010


Author: neteler
Date: 2010-08-30 08:35:50 +0000 (Mon, 30 Aug 2010)
New Revision: 43349

Added:
   grass-addons/raster/r.viewshed/BUGS
Modified:
   grass-addons/raster/r.viewshed/testscript.sh
Log:
test extended; bug list

Added: grass-addons/raster/r.viewshed/BUGS
===================================================================
--- grass-addons/raster/r.viewshed/BUGS	                        (rev 0)
+++ grass-addons/raster/r.viewshed/BUGS	2010-08-30 08:35:50 UTC (rev 43349)
@@ -0,0 +1,6 @@
+BUGS
+
+* http://trac.osgeo.org/grass/ticket/390
+  r.viewshed precision bug
+
+* areas outside of LOS should be NULL, not zero

Modified: grass-addons/raster/r.viewshed/testscript.sh
===================================================================
--- grass-addons/raster/r.viewshed/testscript.sh	2010-08-30 04:46:29 UTC (rev 43348)
+++ grass-addons/raster/r.viewshed/testscript.sh	2010-08-30 08:35:50 UTC (rev 43349)
@@ -29,5 +29,10 @@
 d.mon x1
 d.his h=hemisphere_los i=hemisphere.shade
 
+r.mapcalc "hemisphere_diff = hemisphere_viewshed - hemisphere_los"
+r.colors hemisphere_diff color=differences
+d.mon x2
+d.rast.leg pos=80 map=hemisphere_diff
+
 nviz hemisphere col=hemisphere_viewshed
 



More information about the grass-commit mailing list