1r.out.ascii(1)                Grass User's Manual               r.out.ascii(1)
2
3
4

NAME

6       r.out.ascii  - Converts a raster map layer into an ASCII text file.
7

KEYWORDS

9       raster, export
10

SYNOPSIS

12       r.out.ascii
13       r.out.ascii help
14       r.out.ascii   [-hsmi]   input=string    [output=string]    [dp=integer]
15       [width=integer]   [null=string]   [--verbose]  [--quiet]
16
17   Flags:
18       -h
19           Suppress printing of header information
20
21       -s
22           Write SURFER (Golden Software) ASCII grid
23
24       -m
25           Write MODFLOW (USGS) ASCII array
26
27       -i
28           Force output of integer values
29
30       --verbose
31           Verbose module output
32
33       --quiet
34           Quiet module output
35
36   Parameters:
37       input=string
38           Name of an existing raster map
39
40       output=string
41           Name for output ASCII grid map (use out=- for stdout)
42
43       dp=integer
44           Number of significant digits (floating point only)
45
46       width=integer
47           Number of values printed before wrapping a  line  (only  SURFER  or
48           MODFLOW format)
49
50       null=string
51           String to represent null cell (GRASS grid only)
52           Default: *
53

DESCRIPTION

55       r.out.ascii  converts  a  user-specified  raster map layer (input=name)
56       into an ASCII grid in a text file (output=name) suitable for export  to
57       other computer systems.
58
59       The  GRASS  program r.in.ascii can be used to perform the reverse func‐
60       tion, converting an ASCII file in suitable format to GRASS  raster  map
61       format.
62
63       To  write  a  SURFER  .grd ASCII GRID file (with reverted row order and
64       different header) use the -s flag:
65       r.out.ascii -s input=inname output=outname.grd [dp=value]
66        NULL data are coded to "1.70141e+038"  for  SURFER  ASCII  GRID  files
67       (ignoring the null= parameter).
68

NOTES

70       The output from r.out.ascii may be placed into a file by using the UNIX
71       redirection mechanism; e.g.:
72       r.out.ascii input=soils output=- > out.file
73        The output file out.file can then be printed or copied onto a CDROM or
74       floppy disk for export purposes.
75
76       To  export  the  raster values as x,y,z values of cell centers (one per
77       line) use the r.out.xyz module.
78

SEE ALSO

80        r.in.ascii, r.in.arc, r.out.bin, r.out.gdal, r.out.xyz
81

AUTHOR

83       Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
84
85       Surfer support by Markus Neteler
86
87       Last changed: $Date: 2006-12-13 15:21:43 +0100 (Wed, 13 Dec 2006) $
88
89       Full index
90
91       © 2003-2008 GRASS Development Team
92
93
94
95GRASS 6.3.0                                                     r.out.ascii(1)
Impressum