[GRASS-dev] [GRASS GIS] #912: r3.mapcalc depth() and z() function
upside down
GRASS GIS
trac at osgeo.org
Sun Feb 7 04:48:51 EST 2010
#912: r3.mapcalc depth() and z() function upside down
-------------------------+--------------------------------------------------
Reporter: ayepri | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: unspecified
Keywords: | Platform: MacOSX
Cpu: Unspecified |
-------------------------+--------------------------------------------------
# computation of a 3d raster with z values from the z() function
r3.mapcalc Z='z()'
# export to VTK format (see attached image grid_inversed_z.png)
r3.out.vtk Z output=./Z_3dg.vtk
In r3.mapcalc, z() function returns -z, and depth() function returns the
elevation of the cell. On the grid_inversed_z.png (viewed in Paraview),
one can note that higher Z values are at the bottom of the grid (mind the
axis at the bottom left).
mputed z() isosurfaces are not horizontal (see grid_inversed_deformed_z)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/912>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list