Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 413e0bdb3c48563b2d8d9038d07d5533 > files > 2123

grass-6.3.0-15.fc13.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS: r.to.rast3elev</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">

<img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>

<h2>NAME</h2>
<em><b>r.to.rast3elev</b></em>  - Creates a 3D volume map based on 2D elevation and value raster maps.
<h2>KEYWORDS</h2>
raster, raster3d, voxel, conversion
<h2>SYNOPSIS</h2>
<b>r.to.rast3elev</b><br>
<b>r.to.rast3elev help</b><br>
<b>r.to.rast3elev</b> [-<b>ulm</b>] <b>input</b>=<em>name</em>[,<i>name</i>,...] <b>elevation</b>=<em>name</em>[,<i>name</i>,...] <b>output</b>=<em>name</em>  [<b>upper</b>=<em>float</em>]   [<b>lower</b>=<em>float</em>]   [--<b>overwrite</b>]  [--<b>verbose</b>]  [--<b>quiet</b>] 

<h3>Flags:</h3>
<DL>
<DT><b>-u</b></DT>
<DD>Use the input map values to fill the upper cells</DD>

<DT><b>-l</b></DT>
<DD>Use the input map values to fill the lower cells</DD>

<DT><b>-m</b></DT>
<DD>Use G3D mask (if exists) with input map</DD>

<DT><b>--overwrite</b></DT>
<DD>Allow output files to overwrite existing files</DD>
<DT><b>--verbose</b></DT>
<DD>Verbose module output</DD>
<DT><b>--quiet</b></DT>
<DD>Quiet module output</DD>
</DL>

<h3>Parameters:</h3>
<DL>
<DT><b>input</b>=<em>name[,<i>name</i>,...]</em></DT>
<DD>Name of input raster map(s)</DD>

<DT><b>elevation</b>=<em>name[,<i>name</i>,...]</em></DT>
<DD>Name of elevation raster map(s)</DD>

<DT><b>output</b>=<em>name</em></DT>
<DD>Name for output raster3d map</DD>

<DT><b>upper</b>=<em>float</em></DT>
<DD>The value to fill the upper cells, default is null</DD>

<DT><b>lower</b>=<em>float</em></DT>
<DD>The value to fill the lower cells, default is null</DD>

</DL>
<H2>DESCRIPTION</H2>

Creates a 3D volume map based on 2D elevation and value raster maps.
If the 2d and 3d region settings are different,
the 2d resolution will be adjust to the 3d resolution.

<center>
<img src=r.to.rast3elev.png border=0><BR>
<table border=0 width=700>
<tr><td><center>
<i>How r.to.rast3elev works</i>
</center></td></tr>
</table>
</center>


<H2>NOTES</H2>
The hight of the 2D elevation maps will be used to verify the position 
within the 3D region. If the cell value of the elevation raster maps is located within the 3d region, the 
cell value of the appropriate 2D input raster maps will be written to the associated 3d cell.
There are flags and options to fill the upper and lower 3D cells with a specific value, or the
input raster maps values.

<h2>Example</h2>
Simple Spearfish example

<div class="code"><pre>
g.region -d
g.region res=200 res3=200 t=5000 b=0 tbres=100

# Write the values of raster map soils based on the elevation of elevation.10m
# to the 3D map volev

r.elev.to.rast3 in=soils elev=elevation.10m out=volev

# Write the values of map soils based on the elevation of elevation.10m
# to the 3D map volev_l and fill the lower cells with the soils map values

r.elev.to.rast3 in=soils elev=elevation.10m out=volev_l -l

# Write the values of map soils based on the elevation of elevation.10m
# to the 3D map volev_u and fill the upper cells with the soils map values

r.elev.to.rast3 in=soils elev=elevation.10m out=volev_u -u


</pre></div>                                                                           

<H2>SEE ALSO</H2>

<EM><A HREF="r.to.rast3.html">r.to.rast3</A></EM><br>
<EM><A HREF="r3.cross.rast.html">r3.cross.rast</A></EM><br>
<EM><A HREF="g.region.html">g.region</A></EM><br>

<H2>AUTHOR</H2>
Soeren Gebbert

<p><i>Last changed: $Date: 2007-05-11 21:09:02 +0200 (Fri, 11 May 2007) $</i>
<HR>
<P><a href="index.html">Main index</a> - <a href="raster.html">raster index</a> - <a href="full_index.html">Full index</a></P>
<P>&copy; 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
</body>
</html>