![]() |
![]()
| ![]() |
![]()
NAMEr.out.bin - Exports a GRASS raster to a binary array. KEYWORDSraster, export, output SYNOPSISr.out.bin
Flags:Parameters:
DESCRIPTIONThe r.out.bin 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. NOTESWith the -h flag, data can be directly used by GMT as Grid Format
1 (float) or 2 (short). For example:
r.out.bin -h input=grass.raster output=new.grd grdinfo new.grd=1 (if float) Exported data can be piped directly into the GMT program xyz2grd.
r.out.bin input=grass.raster output=- | xyz2grd -R.... -ZTLf - The example uses the GMT program xyz2grd with the -ZTLf flag indicating that a float array was output. SEE ALSOr.in.bin, r.in.ascii, r.in.gdal, r.out.ascii AUTHORThis program is derived from r.out.ascii with a few
modifications.
SOURCE CODEAvailable at: r.out.bin source code (history) Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d Main index | Raster index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|