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


ILasFile.NativeSpatialReference Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasFile.NativeSpatialReference Property

The spatial reference defined in the LAS file header.

[Visual Basic .NET]
Public ReadOnly Property NativeSpatialReference As ISpatialReference
[C#]
public ISpatialReference NativeSpatialReference {get;}
[C++]
HRESULT get_NativeSpatialReference(
  ISpatialReference** ppSpatialReference
);
[C++]

Parameters ppSpatialReference [out, retval]
ppSpatialReference is a parameter of type ISpatialReference**

Product Availability

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

Description

Returns the spatial reference as defined by the contents of the referenced LAS file. A NULL pointer is returned if no spatial reference is defined. Note, it's possible through the use of a prj file to define, or override, the spatial reference of a LAS file. The NativeSpatialReference only tells you what's in the LAS file, not what spatial reference ArcGIS is using for it. To determine that call ILasFile.SpatialReference.

See Also

ILasFile Interface