r3.out.bin(1grass)
π r3.out.bin β the "get ur 3D raster outta here in binary" page π
okay bestie, so this is r3.out.bin, a lil member of the GRASS User's Manual family (that's the manual name, she's fancy). She takes a 3D raster map and yeets it into a binary array. That's it. That's the gig. π¦
KEYWORDS: raster3d, export, voxel β that's the vibe tag, iykyk.
β¨ SYNOPSIS β¨
no cap, here's exactly how u call her:
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]
π Flags π
-rβ flips the row order in the output, going from north->south to south->north. she's reversing it, your honor π-dβ flips the depth order in the output from bottom->top to top->bottom. yes queen, depth direction matters π₯-iβ write the data as integer. whole numbers only babe π§--overwriteβ lets output files straight up overwrite existing files. permission granted π--helpβ prints the usage summary, the lil "how do I work this" moment π--verboseβ verbose module output, she's gonna talk more--quietβ quiet module output, she's gonna talk less--uiβ force launches the GUI dialog. pop-up era β¨
πΈ Parameters πΈ
input=name[required] β Name of input 3D raster map. mandatory bestie, no input no export πoutput=name[required] β Name for output file. also mandatory. where's it going? u tell me π«Άnull=floatβ Value to write out for null. Default:0bytes=integer[required] β Number of bytes per cell in binary file. Options:1,2,4,8. required, so pick ur size, no skipping βorder=stringβ Output byte order. Options:big,little,native,swap. Default:native. endianness is a lifestyle choice fr fr π
π DESCRIPTION π
So the r3.out.bin program exports a GRASS 3D raster map to a binary array file. Optionally, the output can be send to standard output (stdout) so u can pipe it directly into other applications β hello, main character energy π. Data is exported according to the original GRASS 3D raster type (float, double). it's giving "faithful to the source."
π 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. fyi.
The region parameters are printed to stderr when setting the verbose flag. Export of little and big endian byte order is supported. slay π
Have a look at the r3.out.ascii manual page, because she describes the internal layout of the 3D raster maps and the supported row and depth switch options. she's the lore-keeper, go read her π
ok real talk: if u need the actual structural deets, r3.out.ascii is where it's at. don't be out here guessing.
π EXAMPLES π
Have a look at the examples in r3.in.bin. yes bestie, the examples live over there. go visit π§
π SEE ALSO π
r3.in.binr3.in.ascii
π AUTHOR π
SΓΆren Gebbert, based on r.out.bin from Bob Covill and Glynn Clements. shoutout to the trio, icons only π
β SOURCE CODE β
Available at: r3.out.bin source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a
Main index | 3D raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
k bye ily, this was GRASS 8.5.0 showing u r3.out.bin(1grass) β go export something cute π«Άβ¨
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms