[GRASS-SVN] r51543 - grass-addons/grass7/raster/r.vol.dem
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 25 08:42:55 EDT 2012
Author: neteler
Date: 2012-04-25 05:42:55 -0700 (Wed, 25 Apr 2012)
New Revision: 51543
Modified:
grass-addons/grass7/raster/r.vol.dem/main.c
grass-addons/grass7/raster/r.vol.dem/r.vol.dem.html
Log:
keep VTK file size under control
Modified: grass-addons/grass7/raster/r.vol.dem/main.c
===================================================================
--- grass-addons/grass7/raster/r.vol.dem/main.c 2012-04-25 11:49:21 UTC (rev 51542)
+++ grass-addons/grass7/raster/r.vol.dem/main.c 2012-04-25 12:42:55 UTC (rev 51543)
@@ -1097,12 +1097,12 @@
parm.output->answer);
if (flag.points->answer) {
- sprintf(sys, "r3.out.vtk -p in=%s out=%s.vtk null=%f",
+ sprintf(sys, "r3.out.vtk -p in=%s out=%s.vtk null=%f dp=3",
parm.output->answer, parm.output->answer, DNULLVALUE);
}
else {
- sprintf(sys, "r3.out.vtk in=%s out=%s.vtk null=%f",
+ sprintf(sys, "r3.out.vtk in=%s out=%s.vtk null=%f dp=3",
parm.output->answer, parm.output->answer, DNULLVALUE);
}
if (DEBUG > 0) {
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-25 11:49:21 UTC (rev 51542)
+++ grass-addons/grass7/raster/r.vol.dem/r.vol.dem.html 2012-04-25 12:42:55 UTC (rev 51543)
@@ -73,7 +73,8 @@
option reflects the fact that the visualisation program ParaView which
treats cell data and point data differently in comparison to the program
GRASS GIS. Hence, if one wants to visualise GRASS voxel in ParaView, this
-flag is recommended.
+flag is recommended. The VTK floating point precision is 1/1000 of the
+current GRASS location's map unit.
<p>
The <em>-q</em> flag disables on-screen progress display:
This option does not yet work.
More information about the grass-commit
mailing list