r3.out.bin(1grass)

r3.out.bin1grass

Exports a grass 3d raster map to a binary array.

Usage

r3.out.bin

r3.out.bin --help

r3.out.bin [-rdi] input=name output=name [null=float] bytes=integer [order=string] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Keywords

raster3d, export, voxel

Overview

The r3.out.bin program exports a GRASS 3D raster map to a binary array file. Optionally, output can be send to standard output (stdout) for direct input (pipe) into other applications. Data is exported according to the original GRASS 3D raster type (float, double).

Notes

The write order of the rows (north->south to south->north) and the write order of the depths (bottom->top to top->bottom) can be switched.

The region parameters are printed to stderr when setting the verbose flag. Export of little and big endian byte order is supported.

Have a look at r3.out.ascii manual page that describes the internal layout of the 3D raster maps and the supported row and depth switch options.

Examples

Have a look at the examples in r3.in.bin.

Source code

Available at: r3.out.bin source code (history)

Accessed: Monday Feb 24 17:51:08 2025

Main index | 3D raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Sören Gebbert, based on r.out.bin from Bob Covill and Glynn Clements

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.