Rechercher une page de manuel
r3.out.ascii.1grass
Langue: en
Version: 334644 (ubuntu - 24/10/10)
Section: 1 (Commandes utilisateur)
NAME
r3.out.ascii - Converts a 3D raster map layer into an ASCII text fileKEYWORDS
raster3d, voxel, exportSYNOPSIS
r3.out.asciir3.out.ascii help
r3.out.ascii [-hm] input=string [output=string] [dp=integer] [null=string] [--verbose] [--quiet]
Flags:
- -h
Suppress printing of header information- -m
Use G3D mask (if exists) with input map- --verbose
Verbose module output- --quiet
Quiet module output
Parameters:
- input=string
3d raster map to be converted to ASCII- output=string
Name for ASCII output file- dp=integer
Number of decimal places for floats
Options: 0-20
Default: 8- null=string
Char string to represent no data cell
Default: *
DESCRIPTION
Outputs G3D maps in ascii format. map is a valid G3D map in the current mapset. output is the name of an ascii file which will be written in the current working directory. If output is not specified then stdout is used. The -h flag may be used to suppress header information. The module is sensitive to region settings (set with g.region).NOTES
The default format for the ascii file is equivalent to that required by r3.in.ascii. In particular, files output by r3.out.ascii with header information may be converted back to G3D maps with r3.in.ascii.The format for the ascii file is:
north: floating point
south: floating point
east: floating point
west: floating point
top: floating point
bottom: floating point
rows: integer
cols: integer
levels: integer
The header is followed by cell values in floating point format. Cell values are output as a series of horizontal slices in row-major order. That is,
(x, y, z) (x + 1, y, z) ... (x + cols, y, z)
(x, y + 1, z) (x + 1, y + 1, z) ... (x + cols, y + 1, z)
and so on
One level maps can be imported with r.in.ascii (Raster 2D) after removing the header lines "top", "bottom" and "levels".
SEE ALSO
r3.in.asciig.region
AUTHORS
Roman Waupotitsch, Michael Shapiro, Helena Mitasova, Bill Brown, Lubos Mitas, Jaro HofierkaLast changed: $Date: 2006-04-20 23:31:24 +0200 (gio, 20 apr 2006) $
Full index
© 2003-2010 GRASS Development Team
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre