[GRASS-SVN] r51551 - grass-addons/grass7/raster/r.vol.dem

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 27 04:37:29 EDT 2012


Author: neteler
Date: 2012-04-27 01:37:29 -0700 (Fri, 27 Apr 2012)
New Revision: 51551

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

Modified: grass-addons/grass7/raster/r.vol.dem/main.c
===================================================================
--- grass-addons/grass7/raster/r.vol.dem/main.c	2012-04-27 08:36:48 UTC (rev 51550)
+++ grass-addons/grass7/raster/r.vol.dem/main.c	2012-04-27 08:37:29 UTC (rev 51551)
@@ -1207,9 +1207,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();

Modified: grass-addons/grass7/raster/r.vol.dem/r.vol.dem.html
===================================================================
--- grass-addons/grass7/raster/r.vol.dem/r.vol.dem.html	2012-04-27 08:36:48 UTC (rev 51550)
+++ grass-addons/grass7/raster/r.vol.dem/r.vol.dem.html	2012-04-27 08:37:29 UTC (rev 51551)
@@ -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



More information about the grass-commit mailing list