This document is archived and information here might be outdated. Recommended version. |
The XYZ extent of data contained in files/folders to be added.
[Visual Basic .NET] Public Function GetDataExtent ( _ ByVal pTargetSpatialReference As ISpatialReference _ ) As IEnvelope
[C#] public IEnvelope GetDataExtent ( ISpatialReference pTargetSpatialReference );
[C++]
HRESULT GetDataExtent(
ISpatialReference* pTargetSpatialReference
);
[C++] Parameters pTargetSpatialReference [in]
pTargetSpatialReference is a parameter of type ISpatialReference*
Returns the data extent of points in the files referenced by the importer. See AddFile and AddFolder.
LAS format LIDAR files contain the data extent in the header. From them, the extent can be extracted quickly. ASCII files, on the other hand, must be scanned to discover the extent. The time this will take is proportional to the amount of data to scan through.