[GRASS-SVN] r45449 -
grass/branches/releasebranch_6_4/raster/r.to.rast3elev
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 22 02:49:31 EST 2011
Author: neteler
Date: 2011-02-21 23:49:31 -0800 (Mon, 21 Feb 2011)
New Revision: 45449
Modified:
grass/branches/releasebranch_6_4/raster/r.to.rast3elev/description.html
Log:
Typo fix and better paraview explanation (backport from trunk, r45444)
Modified: grass/branches/releasebranch_6_4/raster/r.to.rast3elev/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.to.rast3elev/description.html 2011-02-22 07:49:20 UTC (rev 45448)
+++ grass/branches/releasebranch_6_4/raster/r.to.rast3elev/description.html 2011-02-22 07:49:31 UTC (rev 45449)
@@ -43,7 +43,7 @@
r.to.rast3elev --o in=soils elev=elevation.10m out=volev_u -u
-# And Example with multiple elevation maps.
+# Example with multiple elevation maps.
## first we need three support maps
r.mapcalc --o expression="one = 1"
@@ -59,9 +59,17 @@
r.to.rast3elev --o -l input=one,two,three elevation=elevation.10m,elev_mid,elev_bottom output=threelayer
-## Export the map for visualization with paraview
-r3.out.vtk --o input=threelayer output=/tmp/threelayer.vtk
+## Export the map for visualization with paraview (http://www.paraview.org)
+## By default the null value is -9999.99, we adjust it to 0.0 for
+## better visualization
+r3.out.vtk --o null=0.0 input=threelayer output=/tmp/threelayer.vtk
+# Start paraview
+
+paraview --data=/tmp/threelayer.vtk
+
+# First you need to choose the surface representation style and then color by "threelayer" in paraview .
+
</pre></div>
<h2>SEE ALSO</h2>
More information about the grass-commit
mailing list