Summary
Interpolates a digital terrain model (DTM) or a digital surface model (DSM) from a point cloud using one of the interpolation methods provided.
Usage
The form of the point cloud can be either LAS files or a solution point table.
Syntax
arcpy.management.InterpolateFromPointCloud(in_container, out_raster, cell_size, {interpolation_method}, {smooth_method}, {surface_type}, {fill_dem})
Parameter | Explanation | Data Type |
in_container | The path and name of the file, folder, or feature layer. The input can be a folder of LAS files or a solution point table from orthomapping tools. The LAS files can be the output from the Generate Point Cloud tool, in which LAS points are categorized as ground and above ground. The solution point table is output from either the Compute Block Adjustments tool or the Compute Camera Model tool. | Folder; File; Feature Layer |
out_raster | The output raster dataset location, name, and file extension. The output can be created in most writable raster formats, such as .tif, .crf, or .img. | Raster Dataset |
cell_size | The cell size of the output raster dataset. | Double |
interpolation_method (Optional) | Specifies the method used to interpolate the output raster dataset from the point cloud.
| String |
smooth_method (Optional) | Specifies the filter to smooth the output raster dataset.
| String |
surface_type (Optional) | Specifies whether a digital terrain model or a digital surface model will be created.
| String |
fill_dem (Optional) | A DEM raster input that is used to fill NoData areas. Areas of NoData may exist where pixels do not have enough information from the input to generate any values. | Raster Dataset; Raster Layer; Mosaic Dataset; Mosaic Layer |
Code sample
InterpolateFromPointCloud example 1 (stand-alone script)
This is a Python sample for the InterpolateFromPointCloud tool.
import arcpy
arcpy.InterpolateFromPointCloud_management('c:/data/LASFolder',
'c:/data/dsm.crf', '10',
'IDW', 'GAUSS5x5', 'DTM')
Environments
Licensing information
- Basic: No
- Standard: No
- Advanced: Yes