[GRASS-SVN] r43805 - grass/branches/releasebranch_6_4/raster/r.surf.contour

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 6 04:41:45 EDT 2010


Author: mmetz
Date: 2010-10-06 08:41:45 +0000 (Wed, 06 Oct 2010)
New Revision: 43805

Modified:
   grass/branches/releasebranch_6_4/raster/r.surf.contour/description.html
   grass/branches/releasebranch_6_4/raster/r.surf.contour/main.c
Log:
add author and update manual: no known bugs left (backport r43803)

Modified: grass/branches/releasebranch_6_4/raster/r.surf.contour/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.surf.contour/description.html	2010-10-06 08:40:52 UTC (rev 43804)
+++ grass/branches/releasebranch_6_4/raster/r.surf.contour/description.html	2010-10-06 08:41:45 UTC (rev 43805)
@@ -34,7 +34,7 @@
 
 <dd>Name of an existing raster map that contains a set of 
 initial category values (i.e., some cells contain known elevation
-values (denoting contours) while the rest contain NULL values or zeros (0)).
+values (denoting contours) while the rest contain NULL values).
 
 <dt><b>output=</b><em>name</em> 
 
@@ -43,6 +43,10 @@
 the known category values in the input raster map layer.
 </dl>
 
+<p>
+An existing MASK raster map is respected for both reading <em>input</em>
+and writing <em>output</em>.
+
 <h2>NOTES</h2>
 
 <em>r.surf.contour</em> works well under the following circumstances:
@@ -65,22 +69,6 @@
 raster cells).  Since a flood fill algorithm is used, the program's running
 time will grow exponentially with the distance between contour lines.
 
-<h2>BUGS</h2>
-
-<em>r.surf.contour</em> has not been fully updated for NULL support and still
-considers a value of "<tt>0</tt>" to be NULL. Thus any contour lines at 0 
-elevation (e.g. the coastline) will be ignored. In such cases converting any
-0 values in the input map to -1 with <em>r.mapcalc</em> may be a suitable
-work-around.
-<p>
-Currently <em>r.surf.contour</em> will only produce CELL (integer) map output.
-If you would like a finer grade output map (i.e. floating point) it is
-recommended to multiply the <b>input</b> map by 1000 (for example) using
-<em>r.mapcalc</em>, then divide the resultant <em>r.surf.contour</em> 
-<b>output</b> map by 1000.0, again with <em>r.mapcalc</em>.
-<p>
-Volunteers are sought to remedy both these issues.
-
 <h2>SEE ALSO</h2>
 
 <em><a href="r.mapcalc.html">r.mapcalc</a></em>,

Modified: grass/branches/releasebranch_6_4/raster/r.surf.contour/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.surf.contour/main.c	2010-10-06 08:40:52 UTC (rev 43804)
+++ grass/branches/releasebranch_6_4/raster/r.surf.contour/main.c	2010-10-06 08:41:45 UTC (rev 43805)
@@ -9,7 +9,8 @@
  *               Huidae Cho <grass4u gmail.com>, 
  *               Glynn Clements <glynn gclements.plus.com>, 
  *               Hamish Bowman <hamish_b yahoo.com>, 
- *               Jan-Oliver Wagner <jan intevation.de>
+ *               Jan-Oliver Wagner <jan intevation.de>,
+ *               Markus Metz
  * PURPOSE:      interpolates a raster elevation map from a rasterized
  *               contour map
  * COPYRIGHT:    (C) 1999-2006 by the GRASS Development Team



More information about the grass-commit mailing list