Rechercher une page de manuel
r3.cross.rast.1grass
Langue: en
Version: 336798 (ubuntu - 24/10/10)
Section: 1 (Commandes utilisateur)
Sommaire
NAME
r3.cross.rast - Creates cross section 2D raster map from 3d raster map based on 2D elevation mapKEYWORDS
raster3d, voxelSYNOPSIS
r3.cross.rastr3.cross.rast help
r3.cross.rast [-m] input=string elevation=string output=string [--overwrite] [--verbose] [--quiet]
Flags:
- -m
Use g3d mask (if exists) with input map- --overwrite
Allow output files to overwrite existing files- --verbose
Verbose module output- --quiet
Quiet module output
Parameters:
- input=string
Input 3D raster map for cross section.- elevation=string
2D elevation map used to create the cross section map- output=string
Resulting cross section 2D raster map
DESCRIPTION
This module creates a cross section 2D map from one g3d raster volume map based on a 2D elevation map. It checks if the value of the elevation map is located in the z-coordinate space of the 3d map. If so, the 3D voxel value for this position is transferred to the related cross section output map cell, otherwise the NULL value is set.|
How r3.cross.rast works
If the 2d and 3d region settings are different, the 2d resolution will be adjust to the 3d resolution.
NOTES
To create a cut plane elevation map use r.mapcalc. Some examples:-
- To create a cut plane elevation map in x direction type
r.mapcalc "cutplane = col()*x", x be the value for the elevation. If the range of col() is 1 ... 10, the elevation map has the range 1 ... 10 if x == 1 and if x == 10 the range 10 - To create a cut plane elevation map in y direction type
r.mapcalc "cutplane = row()*x", x be the value for the elevation. If the range of col() is 1 ... 10, the elevation map has the range 1 ... 10 if x == 1 and if x == 10 the range 10 - The user can also make a cut in y and x direction with r.mapcalc by using
r.mapcalc "cutplane = (row()+col())*x"
- To create a cut plane elevation map in x direction type
EXAMPLE
Simple Spearfish example
g.region -d
g.region res=150 res3=150 t=1000 b=0 tbres=100
# synthetic data, could be geological structures:
r3.mapcalc "map3d=sin(row())+sin(col())+sin(depth()*depth())"
#create a cutplane map
r.mapcalc "cutplane = col()*10"
#create the cross section map
r3.cross.rast input=map3d elevation=cutplane output=crosssection
SEE ALSO
g.regionr.mapcalc
r3.mapcalc
r3.to.rast
AUTHOR
Soeren GebbertLast changed: $Date: 2006-07-10 20:11:49 +0200 (lun, 10 lug 2006) $
Full index
© 2003-2010 GRASS Development Team
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre