![]() |
![]()
| ![]() |
![]()
NAMEr3.in.ascii - Converts a 3D ASCII raster text file into a (binary) 3D raster map. KEYWORDSraster3d, import, voxel, conversion, ASCII SYNOPSISr3.in.ascii
Flags:
Parameters:
DESCRIPTIONr3.in.ascii allows a user to create a (binary) GRASS 3D raster map layer from a 3D ASCII raster input file. The tiledimension parameter defines the dimension of the tiles used in the output file. The format is: XxYxZ The nv parameter specifies which value to convert to NULL-value. If the specified value is none, no conversion is performed. Default is none. NOTESThe data is automatically imported into the correct internal
coordinate system, that is visualized in the following picture,
independently from the specified ordering in the ASCII input file:
FormatThe format of the 3D ASCII file:
version: "grass7" order: "nsbt" or "nstb" or "snbt" or "sntb" north: floating point south: floating point east: floating point west: floating point top: floating point bottom: floating point rows: integer cols: integer levels: integer The version and order option have been introduced in GRASS 7 in June 2011. The version option is self explaining. The order option specifies the row and depth order of the data in the input file. The supported row/depth ordering is documented in the r3.out.ascii manual page. The order of the data in the input file does not specify the data order in the generated output 3D raster map which is in any case north -> south, west -> east, bottom -> top order. So dependent on the order information the data is automatically imported into the correct internal coordinate system. The version and order options are not mandatory. In case no version and order option is specified, the default GRASS 6 ASCII format is assumed. This header is followed by the cell values in floating point format organized in rows with constant col and level coordinate. The rows are organized by constant level coordinate. Individual cell values are separated by space or CR. EXAMPLES4x3x2 sample. Note in case no specific ordering is specified in
the input file the upper-left (NW) corner of the bottom level comes first.
The according order option is: nsbt for north -> south, bottom -> top
ordering. This is identical with r.in.ascii for single level data. So
the y coordinate is 0 at the northern edge. north: 3.0
Note that unit tests for r3.in.ascii are implemented in the test.r3.out.ascii.sh script located in the r3.out.ascii directory. EXAMPLESPlease refer to the detailed examples in r3.out.ascii. SEE ALSOr.in.ascii, r3.out.ascii, v.to.rast3, g.region AUTHORSRoman Waupotitsch, Michael Shapiro, Helena Mitasova, Bill Brown, Lubos Mitas, Jaro Hofierka, Sören Gebbert SOURCE CODEAvailable at: r3.in.ascii source code (history) Latest change: Friday Nov 29 00:12:28 2024 in commit: 89e8c2c4defdebca6f0d968ac72d98d6238a73d6 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
|