This document is archived and information here might be outdated.  Recommended version.


ILasPointCloud.LasPointStatsAsRaster Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasPointCloud Interface > ILasPointCloud.LasPointStatsAsRaster Method
ArcGIS Developer Help

ILasPointCloud.LasPointStatsAsRaster Method

Export to Raster.

[Visual Basic .NET]
Public Sub LasPointStatsAsRaster ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal pFilter As ILasPointFilter, _
    ByVal pDataset As IRasterDataset, _
    ByVal Type As esriLasPointStatsType, _
    ByVal Attribute As esriLasAttributeType _
)
[C#]
public void LasPointStatsAsRaster (
    ITrackCancel pTrackCancel,
    ILasPointFilter pFilter,
    IRasterDataset pDataset,
    esriLasPointStatsType Type,
    esriLasAttributeType Attribute
);
[C++]
HRESULT LasPointStatsAsRaster(
  ITrackCancel* pTrackCancel,
  ILasPointFilter* pFilter,
  IRasterDataset* pDataset,
  esriLasPointStatsType Type,
  esriLasAttributeType Attribute
);
[C++]
Parameters
pTrackCancel [in]

pTrackCancel is a parameter of type ITrackCancel* pFilter [in]
pFilter is a parameter of type ILasPointFilter* pDataset [in]
pDataset is a parameter of type IRasterDataset* Type [in]
Type is a parameter of type esriLasPointStatsType Attribute [in]
Attribute is a parameter of type esriLasAttributeType

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Populates the input raster dataset with values that reflect statistical information about measurements from LAS files referenced by a las dataset.

pTrackCancel is a reference to a Cancel Tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.

pFilter is a reference to an ILasPointFilter. If set, only points that match the criteria set on the filter are considered while computing statistics. The exception is when the statistics Type property is set to esriLasPointStatsPulseCount. See notes below.

pDataset is the raster dataset to which the point statistics information will be written to. The raster must already exist.

Type is the statistic type computed about the points in each cell of the raster dataset. 

Attribute is the point attribute using which the statistics are computed on a cell by cell basis.

Notes:

For the pulse count stats type, only the filter's AOI is honored, and only points of last-return are counted. The reason is that pulse counts are not well defined when classification codes and flags are used to filter points. A pulse may have multiple returns and each of which may have different a classification code.

Remarks


[C#]
[C++]
[Visual Basic .NET]

See Also

ILasPointCloud Interface