Process Designer : CARIS Batch Utility : CZMIL Processes : Update CZMIL from LAS
 

Update CZMIL from LAS

Description

The UpdateCZMILFromLAS process updates CZMIL attributes in a CPF file that have the same name as specified attributes from one or more LAS files.

The LAS files must have been exported using the Export CZMIL to LAS process with the IncludeMappingIndex option enabled. This ensures the points in the LAS data have a mapping index value, which is used to identify points in the CZMIL data that have corresponding points in the LAS data. Each point in the CZMIL data that corresponds to a point in the LAS data has the specified attribute values replaced with the values from the corresponding point in the LAS file.

A single LAS file can be used to update all CPF files in a folder; a separate LAS file is not needed for each CPF file.

This update can only be performed on an original set of CPF files. CPF files contain a file ID that is computed based on the files in the folder and this ID is used when running the Update process. Moving or copying the files to a different folder, or adding or removing files to or from the folder will cause the file ID to be invalid and the update process cannot be run on the files. If a backup of the files is required, copy the files to a separate location and do all processing on the original files. The backup files can then be copied back to the original location, replacing the processed files, if needed.

Input

One or more LAS files.

Update

CPF file(s) directly passed or read from a survey file.

Command Line Syntax

carisbatch --run UpdateCZMILFromLAS --data <value> [options] <inputs> <update>

User Interface Command

Update CZMIL from LAS

Options

The following table describes the parameters available for this process.

Parameter

 

Long

Short

Description

Can Repeat

Notes

 

--data

If set, the attributes in the CZMIL data that will be updated by the data in the LAS file with the same name. Possible values include:

CLASSIFICATION: Classification

STATUS: Status

ELEVATION: Elevation

POSITION: X and Y position

Each attribute to be updated must be specified separately.

TRUE

Example

To use this command refer to the following example.

Example

Objective

You need to update the Classification, Status and Elevation values of points in a CZMIL survey using the values in a set of LAS files that were created with the Export CZMIL to LAS process with the IncludeMappingIndex option enabled.

Description

Command Line Syntax

The Classification, Status and Elevation attributes will be updated.

--data CLASSIFICATION --data STATUS --data ELEVATION

Updates will come from the Input1.las and Input2.las files found in the D:\SampleData\Input directory.

file:///D:/SampleData/Input/Input1.las file:///D:/SampleData/Input/Input2.las

The CZMIL data to be updated is in the CZ09ME19001_20220710T165738.survey file in the D:\SampleData\Output directory.

file:///D:/SampleData/Output/CZ09ME19001_20220710T165738.survey

Command Line

carisbatch --run UpdateCZMILFromLAS --data CLASSIFICATION --data STATUS --data ELEVATION file:///D:/SampleData/Input/Input1.las file:///D:/SampleData/Input/Input2.las file:///D:/SampleData/Output/CZ09ME19001_20220710T165738.survey

Outcome

The Classification, Status and Elevation values of all points in the CMZIL survey that have a corresponding point in the LAS files have been updated with the values from the LAS data.

Extra Notes

N/A