This file is indexed.

/usr/share/doc/grass-doc/html/r.out.bin.html is in grass-doc 6.4.3-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS manual: r.out.bin</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">

<img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>

<h2>NAME</h2>
<em><b>r.out.bin</b></em>  - Exports a GRASS raster map to a binary array.
<h2>KEYWORDS</h2>
raster, export
<h2>SYNOPSIS</h2>
<b>r.out.bin</b><br>
<b>r.out.bin help</b><br>
<b>r.out.bin</b> [-<b>ifhbs</b>] <b>input</b>=<em>string</em>  [<b>output</b>=<em>string</em>]   [<b>null</b>=<em>float</em>]   [<b>bytes</b>=<em>integer</em>]   [<b>order</b>=<em>string</em>]   [--<b>verbose</b>]  [--<b>quiet</b>] 

<h3>Flags:</h3>
<DL>
<DT><b>-i</b></DT>
<DD>Generate integer output</DD>

<DT><b>-f</b></DT>
<DD>Generate floating-point output</DD>

<DT><b>-h</b></DT>
<DD>Export array with GMT compatible header</DD>

<DT><b>-b</b></DT>
<DD>Generate BIL world and header files</DD>

<DT><b>-s</b></DT>
<DD>Byte swap output</DD>

<DT><b>--verbose</b></DT>
<DD>Verbose module output</DD>
<DT><b>--quiet</b></DT>
<DD>Quiet module output</DD>
</DL>

<h3>Parameters:</h3>
<DL>
<DT><b>input</b>=<em>string</em></DT>
<DD>Name of input raster map</DD>

<DT><b>output</b>=<em>string</em></DT>
<DD>Name for output binary map (use output=- for stdout)</DD>

<DT><b>null</b>=<em>float</em></DT>
<DD>Value to write out for null</DD>
<DD>Default: <em>0</em></DD>

<DT><b>bytes</b>=<em>integer</em></DT>
<DD>Number of bytes per cell</DD>
<DD>Options: <em>1,2,4,8</em></DD>

<DT><b>order</b>=<em>string</em></DT>
<DD>Output byte order</DD>
<DD>Options: <em>big,little,native,swap</em></DD>
<DD>Default: <em>native</em></DD>

</DL>
<h2>DESCRIPTION</h2>

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

<h2>NOTES</h2>

With the -h flag, data can be directly used by
<a href=http://gmt.soest.hawaii.edu/>GMT</a> as Grid Format 1 (float) or 
2 (short). For example:

<div class="code"><pre>
r.out.bin -h input=grass.raster output=new.grd
grdinfo new.grd=1 (if float)
</pre></div>

<p>
Exported data can be piped directly into the GMT program xyz2grd.
<div class="code"><pre>
r.out.bin input=grass.raster output=- | xyz2grd -R....  -ZTLf -
</pre></div>

The example uses the GMT program xyz2grd with the -ZTLf flag indicating that
a float array was output.

<h2>SEE ALSO</h2>

<em><a href="r.in.bin.html">r.in.bin</a>,
<a href="r.in.ascii.html">r.in.ascii</a> 
<a href="r.out.ascii.html">r.out.ascii</a>
<a href="r.in.arc.html">r.in.arc</a>,
<a href="r.out.arc.html">r.out.arc</a></em>


<h2>AUTHOR</h2>
This program is derived from <em><a href="r.out.ascii.html">r.out.ascii</a></em> 
with a few modifications. <br>
Author: <a href=mailto:bcovill@tekmap.ns.ca>Bob Covill</a>

<p><i>Last changed: $Date: 2008-05-16 12:09:06 -0700 (Fri, 16 May 2008) $</i>
<HR>
<P><a href="index.html">Main index</a> - <a href="raster.html">raster index</a> - <a href="full_index.html">Full index</a></P>
<P>&copy; 2003-2013 <a href="http://grass.osgeo.org">GRASS Development Team</a></p>
</body>
</html>