[GRASS-SVN] r51550 - grass-addons/grass6/raster/r.vol.dem

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 27 04:36:49 EDT 2012


Author: neteler
Date: 2012-04-27 01:36:48 -0700 (Fri, 27 Apr 2012)
New Revision: 51550

Modified:
   grass-addons/grass6/raster/r.vol.dem/description.html
   grass-addons/grass6/raster/r.vol.dem/main.c
Log:
hull creation suffers from severe memory leak; commented for now

Modified: grass-addons/grass6/raster/r.vol.dem/description.html
===================================================================
--- grass-addons/grass6/raster/r.vol.dem/description.html	2012-04-26 17:44:32 UTC (rev 51549)
+++ grass-addons/grass6/raster/r.vol.dem/description.html	2012-04-27 08:36:48 UTC (rev 51550)
@@ -51,11 +51,17 @@
 in the input command. In the case, where a 3D layer is limited not only
 from one unit surface, e.g. on top, this flag allows a further 3D
 interpolation until the next DEM or the region's margin.
+
+<!-- Suffers from severe memory leak! MN 4/2012
+
 <p>
 The <em>-h</em> flag export convex hull for polygon layers: This option
 creates a 3D polygon out of the voxel model. This means, at first it will
 be generated a voxel model. Afterwards, this will be converted into a
 vector-file. However, the flag does not yet work properly.
+
+-->
+
 <p>
 The <em>-g</em> flag exports voxel model as vector points: This option
 creates a vector point for each interpolated voxel. This became necessary

Modified: grass-addons/grass6/raster/r.vol.dem/main.c
===================================================================
--- grass-addons/grass6/raster/r.vol.dem/main.c	2012-04-26 17:44:32 UTC (rev 51549)
+++ grass-addons/grass6/raster/r.vol.dem/main.c	2012-04-27 08:36:48 UTC (rev 51550)
@@ -1223,9 +1223,12 @@
     flag.fillnull->description = "Fill through NULL value areas in DEMs";
 
     /* export a 3D hull polygon for every layer ? */
+
+/** Suffers from severe memory leak! MN 4/2012
     flag.hull = G_define_flag();
     flag.hull->key = 'h';
     flag.hull->description = "Export convex hull polygons for layers";
+**/
 
     /* GRASS ASCII vector point data output ? */
     flag.grasspts = G_define_flag();



More information about the grass-commit mailing list