r3.out.bin(1)

๐Ÿ’พ r3.out.bin โ€” the GRASS GIS User's Manual page, but make it cute ๐Ÿ’พ

okay bestie, gather round, because this is the r3.out.bin(1) page and it is literally the glow-up your 3D raster data has been waiting for ๐Ÿซถ


โœจ NAME โœจ

r3.out.bin โ€” exports a GRASS 3D raster map to a binary array. that's it, that's the whole job, and it does it flawlessly ๐Ÿ’…


๐Ÿท๏ธ KEYWORDS ๐Ÿท๏ธ

raster3d, export, voxel โ€” yes queen, three little words, three big vibes ๐Ÿ‘‘


๐Ÿ“œ SYNOPSIS ๐Ÿ“œ

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]

๐ŸŒธ OPTIONS ๐ŸŒธ

๐ŸŽ€ Flags ๐ŸŽ€

  • -r โ€” flips the row order in the output from north->south to south->north. a lil remix of your rows, no cap ๐Ÿ”„
  • -d โ€” flips the depth order in the output from bottom->top to top->bottom. now we're reading the depths back to front, iconic behavior ๐ŸŒ€
  • -i โ€” write the data as integer. whole numbers only, bestie ๐Ÿงฎ
  • --overwrite โ€” allow output files to overwrite existing files. it's giving no hesitation, it's giving main character energy ๐Ÿ’€
  • --help โ€” print usage summary. the little "wait what does this do again" button ๐Ÿซถ
  • --verbose โ€” verbose module output. spill the tea, module โ˜•
  • --quiet โ€” quiet module output. shhh, she's in her silent era ๐Ÿคซ
  • --ui โ€” force launching GUI dialog. clicky-clicky mode ๐Ÿ–ฑ๏ธ

๐Ÿงš Parameters ๐Ÿงš

  • input=name [required] โ€” name of input 3D raster map. this is the thing you're exporting, bestie, don't forget her ๐Ÿ’œ
  • output=name [required] โ€” name for output file. where the magic lands โœจ
  • null=float โ€” value to write out for null. default: 0. the "no data, but make it a number" situation ๐Ÿ™ˆ
  • bytes=integer [required] โ€” number of bytes per cell in binary file. options: 1, 2, 4, 8. pick your size, pick your fighter ๐Ÿ“
  • order=string โ€” output byte order. options: big, little, native, swap. default: native. endianness girlies, this one's for you ๐ŸŒˆ

๐Ÿ’– DESCRIPTION ๐Ÿ’–

so the r3.out.bin program exports a GRASS 3D raster map to a binary array file. and like, optionally? the output can be send to standard output (stdout) for direct input (pipe) into other applications. pipe it, bestie, feed the next program directly ๐Ÿ“

data is exported according to the original GRASS 3D raster type (float, double). no sneaky conversions, she stays true to herself ๐Ÿ’…


๐Ÿ“ 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. yes, you can flip both. yes, it's a lot of power. use it responsibly ๐Ÿซถ

the region parameters are printed to stderr when setting the verbose flag. lowkey a nice lil receipt of what went down ๐Ÿงพ

export of little and big endian byte order is supported. we love an inclusive byte order moment ๐Ÿ’–

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. it's the lore, bestie, go read the lore ๐Ÿ“–


๐ŸŒŸ EXAMPLES ๐ŸŒŸ

have a look at the examples in r3.in.bin. they said "examples in r3.in.bin" and honestly? valid. go look ๐Ÿ‘€


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

r3.in.bin, r3.in.ascii โ€” the girlies in the same friend group, fr fr ๐Ÿซ‚


โœ๏ธ AUTHOR โœ๏ธ

Sรถren Gebbert, based on r.out.bin from Bob Covill and Glynn Clements. giving credit where credit is due, always ๐Ÿ’


๐Ÿ”— SOURCE CODE ๐Ÿ”—

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

Accessed: Saturday Jan 17 05:41:15 2026

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


and that's the whole page, bestie! now go export something gorgeous ๐ŸŒˆ๐Ÿ’…โœจ

signing off from the GRASS GIS 8.4.2 Reference Manual, version GRASS 8.4.2, page r3.out.bin(1) โ€” ยฉ 2003-2025 GRASS Development Team. mwah, love u, bye ๐ŸŽ€๐Ÿ’–

๐Ÿ“ฆ where this page comes from