Changeset 64889


Ignore:
Timestamp:
Mar 20, 2015, 1:25:22 PM (9 years ago)
Author:
neteler
Message:

r.to.rast3 manual: some improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/raster/r.to.rast3/r.to.rast3.html

    r55528 r64889  
    11<h2>DESCRIPTION</h2>
    22
    3 Converts 2D raster map(s) into one RASTER3D raster map.
    4 If the 2d and 3d region settings are different,
    5 the 2d resolution will be adjust to the 3d resolution.
     3Converts 2D raster map(s) into one raster3D map. It is important to
     4properly set the 3D region settings, especially number or layers and
     5depth of layers. If the 2D and 3D region settings are different,
     6the 2D resolution will be adjusted to the 3D resolution.
    67
    78<center>
     
    1617
    1718<h2>NOTES</h2>
    18 Every 2D raster map is copied as one slice to the RASTER3D raster map. Slices
     19Every 2D raster map is copied as one slice to the raster3D map. Slices
    1920are counted from bottom to the top, so the bottom slice has to be number 1.
    2021<br><br>
    21 If fewer 2D raster maps are provided than depths, the last give 2D map is
    22 used to fill up the  RASTER3D slices to the top.
     22If less number of 2D raster maps are provided than defined depths, the
     23last given 2D map is used to fill up the remaining raster3D slices to
     24the top.
    2325
    2426<h2>EXAMPLES</h2>
     
    2628<h3>EXAMPLE 1</h3>
    2729
    28 This example shows how to convert 6 maps into one 3d map with 6 layers.
     30This example shows how to convert 6 maps into one 3D map with 6 layers.
    2931<br>
    3032
    3133<div class="code"><pre>
    3234# Mapset data in Location slovakia3d
     35g.region raster=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 -p
     36g.region b=0 t=600 tbres=100 res3=100 -p3
    3337r.to.rast3 input=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 output=new_3dmap
    3438</pre></div>
    3539
    3640<h3>EXAMPLE 2</h3>
    37 This example shows how to convert 3 maps into one 3d map with 6 layers.
     41This example shows how to convert 3 maps into one 3D map with 6 layers.
    3842<br>
    3943
    4044<div class="code"><pre>
    4145# Mapset data in Location slovakia3d
     46g.region b=0 t=600 tbres=100 res3=100 -p3
    4247r.to.rast3 input=prec_1,prec_2,prec_3 output=new_3dmap
    4348</pre></div>                                                                           
Note: See TracChangeset for help on using the changeset viewer.