Description Usage Arguments Details Value References Examples
XYZ2DTM converts surface models stored as ACSII XYZ point files into the PLANS DTM format. Input point files include one record for each grid point with the X, Y, and elevation values separated by commas, spaces, or tabs. In general, this utility is only used when surface models are delivered in this format. FUSION provides the ability to export a PLANS DTM model in XYZ point format but this format is not the most efficient in terms of storage space. In addition, most GIS packages cannot directly convert this format into a surface model. They often use the XYZ points as if they were random XYZ data and interpolate a new grid using the point data. XYZ2DTM offers an optional switch to fill void areas by interpolating from surrounding grid elevations.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
fusion.path |
Character. By default: C:/FUSION/. Path where the program FUSION is installed. |
surfacefile |
is a character.Name for output canopy surface file (stored in PLANS DTM format with .dtm extension). |
xyunits |
Character. Units for LIDAR data XY:
|
zunits |
Character. Units for LIDAR data elevations:
|
coordsys |
Numeric. Coordinate system for the canopy model:
|
zone |
Numeric.. Coordinate system zone for the canopy model (0 for unknown). |
horizdatum |
is a numeric. Horizontal datum for the canopy model.
|
vertdatum |
Character..Vertical datum for the surface
|
datafile1 |
Character. First XYZ point file...may be wildcard or text list file (extension .txt only)...omit other datafile# parameters. Second XYZ point file. |
datafile2 |
Character.NULL by default. Second XYZ point file. Several point files can be specified. The limit depends on the length of each file name. When using multiple data files, it is best to use a wildcard for datafile1 or create a text file containing a list of the data files and specifying the list file as datafile1. |
switches |
False as default. To insert a switch, it must have a '/' before of the names. If you want to insert two or more switches, they must be separated by an empty space. When a # is displayed, should be replaced by the desired value (numeric).
|
XYZ2DTM scans all data files to determine the extent of the final surface model and the grid cell size. XYZ data files should be ordered in either rows or columns for the cell size detection logic to work correctly.
XYZ2DTM will not work with random XYZ point data. Prior to populating the surface with grid elevations, all grid points are initialized to indicate NODATA (value of -1.0). As XYZ point files are read and processed, grid cell elevations are inserted into the appropriate row/column location. After all XYZ point files have been processed, the model is written using the PLANS DTM file format with floating point elevation values.
When the /fillholes:# switch is specified. Void areas in the final surface are filled by interpolating values from adjacent grid cells. The parameter, #, specifies the largest distance that will be searched for valid point elevations. In operation, the void filling logic searches in eight directions to find valid grid point elevations to use in the interpolation.
If four or more of the directional searches find a valid elevation, the hole is filled using the average of all the values.
No return value. This function return the command prompt running the FUSION command
McGaughey, R.J. FUSION/LDV: Software for LIDAR Data Analysis and Visualization. 2021.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.