1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <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.in.gdal.html">r.in.gdal</a>,
- <a href="r.out.ascii.html">r.out.ascii</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$</i>
|