Label | Explanation | Data Type |
Input LAS | The LAS data that will be converted. A folder can be specified to process all of the .las files contained therein. | Layer File; LAS Dataset Layer; Folder; File |
Target Folder
| The existing folder to which the output .las files will be written. | Folder |
File Version
(Optional) | The LAS format file version of the output files.
| String |
Point Format
(Optional) | Specifies the point record format of the output .las files. The available options will vary based on the output LAS format file version.
| String |
Compression
(Optional) | Specifies whether the output .las file will be in a compressed format or the standard LAS format.
| String |
LAS Options (Optional) | Specifies modifications that will be made to reduce the size of the output .las files and improve their usability and performance in display and analysis operations.
| String |
Output LAS Dataset
(Optional) | The output LAS dataset referencing the newly created .las files. | LAS Dataset |
Define Input Coordinate System
(Optional) | Specifies whether the spatial reference of input .las files will be defined by the Define Input Coordinate System parameter.
| String |
Input Coordinate System
(Optional) | The coordinate system that will be used to define the spatial reference of the input .las files. This parameter is only active if the Define Input Coordinate System parameter is set to All LAS Files or LAS Files with No Spatial Reference. | Coordinate System |
Summary
Converts LAS format files between different compression methods, file versions, and point record formats.
Usage
This tool can convert between LAS, ZLAS, and LAZ formats by selecting either the individual file, a folder containing the files to be processed, or a LAS dataset to reference a collection of .las and .zlas files.
Data in the source .las file will be lost if the output file version and point record format do not support the information. It is recommended that the input files have the same LAS format file version and point record format when the output is being assigned to a specific version.
Rearranging the LAS points will improve display and analysis performance but requires the generation of a scratch .las file. Statistics will be automatically computed when the LAS points are rearranged.
Only uncompressed .las files can be edited. However, .zlas files can be used as inputs to geoprocessing tools that perform analysis operations.
Parameters
arcpy.conversion.ConvertLas(in_las, target_folder, {file_version}, {point_format}, {compression}, {las_options}, {out_las_dataset}, {define_coordinate_system}, {in_coordinate_system})
Name | Explanation | Data Type |
in_las | The LAS data that will be converted. A folder can be specified to process all of the .las files contained therein. | Layer File; LAS Dataset Layer; Folder; File |
target_folder | The existing folder to which the output .las files will be written. | Folder |
file_version (Optional) | The LAS format file version of the output files.
| String |
point_format (Optional) | Specifies the point record format of the output .las files. The available options will vary based on the output LAS format file version.
| String |
compression (Optional) | Specifies whether the output .las file will be in a compressed format or the standard LAS format.
| String |
las_options [las_options,...] (Optional) | Specifies modifications that will be made to reduce the size of the output .las files and improve their usability and performance in display and analysis operations.
| String |
out_las_dataset (Optional) | The output LAS dataset referencing the newly created .las files. | LAS Dataset |
define_coordinate_system (Optional) | Specifies whether the spatial reference of input .las files will be defined by the define_coordinate_system parameter.
| String |
in_coordinate_system (Optional) | The coordinate system that will be used to define the spatial reference of the input .las files. This parameter is only enabled if the define_coordinate_system parameter is set to ALL_FILES or FILES_MISSING_PROJECTION. | Coordinate System |
Code sample
The following sample demonstrates the use of this tool in the Python window.
import arcpy
arcpy.conversion.ConvertLas('2014_survey.zlas', '2014_unclassified_collection',
'1.4', 7, 'NO_COMPRESSION',
['REMOVE_VLR', 'REMOVE_EXTRA_BYTES', 'REARRANGE_POINTS'],
'2014_unclassified_collection/2014_Survey_Collection.lasd')
Environments
Licensing information
- Basic: Requires Spatial Analyst or 3D Analyst
- Standard: Yes
- Advanced: Yes