-h | Suppress printing of header information |
map | G3d raster map to be converted to ascii |
output | Name for ascii output file |
null | Char string to represent no data cell default: * |
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 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 |
(x, y, z) | (x + 1, y, z) | ... | (x + cols, y, z) |
(x, y + 1, z) | (x + 1, y + 1, z) | ... | and so on |