Class LasFileClass
- Namespace
- ESRI.ArcGIS.GeoDatabaseExtensions
- Assembly
- ESRI.Server.GeoDatabaseExtensions.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("767B20C5-40C4-4875-A3D8-D6DE321C62BF")]
public class LasFileClass : LasFile, IGeoDataset, ILasFile2, ILasFile
- Inheritance
-
LasFileClass
- Implements
- Inherited Members
Explicit Interface Implementations
EstimatePointCount(IGeometry)
Estimate point count.
virtual double EstimatePointCount(IGeometry pAOI)
Parameters
pAOIIGeometry
Returns
EstimatePointSpacing(bool)
Estimate point spacing.
virtual double EstimatePointSpacing(bool bUseStatistics)
Parameters
bUseStatisticsbool
Returns
Extent
The extent of the GeoDataset.
virtual IEnvelope Extent { get; }
Returns
Remarks
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
GetHeaderInfo()
Get LAS file header information.
virtual ILasHeaderInfo GetHeaderInfo()
Returns
GetNumberOfPointsByReturn(int)
The number of points in the LAS file based on the specified LiDAR return number.
virtual double GetNumberOfPointsByReturn(int ReturnNumber)
Parameters
ReturnNumberint
Returns
GetStatistics()
Get statistics.
virtual ILasStatistics GetStatistics()
Returns
GetVersion(out int, out int)
The version of the LAS file.
virtual void GetVersion(out int pMajor, out int pMinor)
Parameters
HasGpsTime
Indicates GPS time is available.
virtual bool HasGpsTime { get; }
Returns
HasPrjFile
Indicates if there is a corresponding PRJ file.
virtual bool HasPrjFile { get; }
Returns
HasRGB
Indicates if RGB is availabe.
virtual bool HasRGB { get; }
Returns
HasStatistics
Indicates if statistics is available.
virtual bool HasStatistics { get; }
Returns
ILasFile2_EstimatePointCount(IGeometry)
virtual double ILasFile2_EstimatePointCount(IGeometry pAOI)
Parameters
pAOIIGeometry
Returns
ILasFile2_EstimatePointSpacing(bool)
virtual double ILasFile2_EstimatePointSpacing(bool bUseStatistics)
Parameters
bUseStatisticsbool
Returns
ILasFile2_Extent
virtual IEnvelope ILasFile2_Extent { get; }
Returns
ILasFile2_GetHeaderInfo()
virtual ILasHeaderInfo ILasFile2_GetHeaderInfo()
Returns
ILasFile2_GetNumberOfPointsByReturn(int)
virtual double ILasFile2_GetNumberOfPointsByReturn(int ReturnNumber)
Parameters
ReturnNumberint
Returns
ILasFile2_GetStatistics()
virtual ILasStatistics ILasFile2_GetStatistics()
Returns
ILasFile2_GetVersion(out int, out int)
virtual void ILasFile2_GetVersion(out int pMajor, out int pMinor)
Parameters
ILasFile2_HasGpsTime
virtual bool ILasFile2_HasGpsTime { get; }
Returns
ILasFile2_HasPrjFile
virtual bool ILasFile2_HasPrjFile { get; }
Returns
ILasFile2_HasRGB
virtual bool ILasFile2_HasRGB { get; }
Returns
ILasFile2_HasStatistics
virtual bool ILasFile2_HasStatistics { get; }
Returns
ILasFile2_IsFileMissing
virtual bool ILasFile2_IsFileMissing { get; }
Returns
ILasFile2_IsFileValid
virtual bool ILasFile2_IsFileValid { get; }
Returns
ILasFile2_IsStandardGpsTime
virtual bool ILasFile2_IsStandardGpsTime { get; }
Returns
ILasFile2_Name
virtual string ILasFile2_Name { get; }
Returns
ILasFile2_NativeSpatialReference
virtual ISpatialReference ILasFile2_NativeSpatialReference { get; }
Returns
ILasFile2_NeedsUpdateStatistics
virtual bool ILasFile2_NeedsUpdateStatistics { get; }
Returns
ILasFile2_NumberOfPointRecords
virtual double ILasFile2_NumberOfPointRecords { get; }
Returns
ILasFile2_PointDataFormat
virtual int ILasFile2_PointDataFormat { get; }
Returns
ILasFile2_SizeInBytes
virtual double ILasFile2_SizeInBytes { get; }
Returns
ILasFile2_SpatialReference
virtual ISpatialReference ILasFile2_SpatialReference { get; }
Returns
ILasFile_Extent
The XYZ extent of points in the LAS file.
virtual IEnvelope ILasFile_Extent { get; }
Returns
ILasFile_SpatialReference
The spatial reference of the LAS file.
virtual ISpatialReference ILasFile_SpatialReference { get; }
Returns
IsFileMissing
Indicates if the LAS file is missing.
virtual bool IsFileMissing { get; }
Returns
IsFileValid
Indicates if the LAS file exists and is valid.
virtual bool IsFileValid { get; }
Returns
IsRearranged
Indicates if points has been spatially rearranged to iptimize data query.
virtual bool IsRearranged { get; }
Returns
IsStandardGpsTime
Indicates if the GPS time is standard GPS Time.
virtual bool IsStandardGpsTime { get; }
Returns
IsZlas
Indicates if the underline data file is a zLAS file.
virtual bool IsZlas { get; }
Returns
Name
The (full) file name.
virtual string Name { get; }
Returns
NativeSpatialReference
The spatial reference defined in the LAS file header.
virtual ISpatialReference NativeSpatialReference { get; }
Returns
NeedsUpdateStatistics
Indicates if update is necessary.
virtual bool NeedsUpdateStatistics { get; }
Returns
NumberOfPointRecords
The number of points in the LAS file.
virtual double NumberOfPointRecords { get; }
Returns
PointDataFormat
The record format for points in the LAS file
virtual int PointDataFormat { get; }
Returns
SizeInBytes
The LAS/zLAS file's size in bytes.
virtual double SizeInBytes { get; }
Returns
SpatialReference
The spatial reference of the GeoDataset.
virtual ISpatialReference SpatialReference { get; }
Returns
Remarks
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
UncompressedSizeInBytes
The LAS file's uncompressed size in bytes.
virtual double UncompressedSizeInBytes { get; }