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

NAME

6       r.out.bin  - Exports a GRASS raster to a binary array.
7

KEYWORDS

9       raster
10

SYNOPSIS

12       r.out.bin
13       r.out.bin help
14       r.out.bin   [-ihbs]   input=string    [output=string]    [null=integer]
15       [--verbose]  [--quiet]
16
17   Flags:
18       -i
19           Output integer category values, not cell values
20
21       -h
22           Export array with GMT compatible header
23
24       -b
25           Generate BIL world and header files
26
27       -s
28           Byte swap output
29
30       --verbose
31           Verbose module output
32
33       --quiet
34           Quiet module output
35
36   Parameters:
37       input=string
38           Name of input raster map
39
40       output=string
41           Name for output binary map (use output=- for stdout)
42
43       null=integer
44           Value to write out for null
45           Default: 0
46

DESCRIPTION

48       The r.out.bin program exports a GRASS raster  map  to  a  binary  array
49       file.  Optionally,  output  can be sent to standard output (stdout) for
50       direct input (pipe) into other applications. Data is exported according
51       to  the  original  GRASS  raster type (e.g. float). If the "-i" flag is
52       specified, an integer  array  is  output.  The  region  parameters  are
53       printed to stderr.
54

NOTES

56       With  the  -h  flag,  data can be directly used by GMT as Grid Format 1
57       (float) or 2 (short). For example:
58       r.out.bin -h input=grass.raster output=new.grd
59       grdinfo new.grd=1 (if float)
60
61
62       Exported data can be piped directly into the GMT program xyz2grd.
63       r.out.bin input=grass.raster output=- | xyz2grd -R....  -ZTLf -
64        The example uses the GMT program xyz2grd with the -ZTLf flag  indicat‐
65       ing that a float array was output.
66

SEE ALSO

68       r.in.bin, r.in.ascii r.out.ascii r.in.arc, r.out.arc
69

AUTHOR

71       This program is derived from r.out.ascii with a few modifications.
72       Author: Bob Covill
73
74       Last changed: $Date: 2005-12-12 15:53:40 +0100 (Mon, 12 Dec 2005) $
75
76       Full index
77
78       © 2003-2008 GRASS Development Team
79
80
81
82GRASS 6.3.0                                                       r.out.bin(1)
Impressum