com.esri.arcgis.geodatabaseextensions
Interface ILasHeaderInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
LasHeaderInfo

public interface ILasHeaderInfo
extends Serializable

Provides access to the header information of LAS files.

Product Availability

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


Method Summary
 IEnvelope getExtent()
          The XYZ extent of points in the LAS file.
 int getFileSourceID()
          The LAS file's source ID.
 int getFlightDateJulian()
          The flight date based on the Julian calendar.
 String getGeneratingSoftware()
          The software used to create the LAS file.
 double getNumberOfPointRecords()
          The number of points in the LAS file.
 double getNumberOfPointsByReturn(int returnNumber)
          The number of points in the LAS file based on the specified LiDAR return number.
 double getNumberOfVariableLengthRecords()
          The number of variable length records in the LAS file.
 void getOffsets(double[] pOffsetX, double[] pOffsetY, double[] pOffsetZ)
          The coordinate offsets.
 int getPointDataFormat()
          The record format for points in the LAS file
 IUID getProjectID()
          The LAS file's project ID.
 void getScaleFactors(double[] pFactorX, double[] pFactorY, double[] pFactorZ)
          The coordinate scale factors.
 ISpatialReference getSpatialReference()
          The spatial reference of the LAS file.
 String getSystemID()
          The hardware system used to collect the LiDAR data in the LAS file.
 void getVariableLengthRecords(IStringArray[] ppUserIDs, ILongArray[] recordIDs, IDoubleArray[] ppRecordLengths, IStringArray[] ppDescriptions, boolean[] pbOverLimit)
          The variable length record info.
 void getVersion(int[] pMajor, int[] pMinor)
          The version of the LAS file.
 int getYear()
          The year the data in the LAS file was collected.
 boolean isHasGpsTime()
          Indicates GPS time is available.
 boolean isHasRGB()
          Indicates if RGB is availabe.
 boolean isStandardGpsTime()
          Indicates if the GPS time is standard GPS Time.
 

Method Detail

getVersion

void getVersion(int[] pMajor,
                int[] pMinor)
                throws IOException,
                       AutomationException
The version of the LAS file.

Product Availability

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

Parameters:
pMajor - The pMajor (out: use single element array)
pMinor - The pMinor (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointDataFormat

int getPointDataFormat()
                       throws IOException,
                              AutomationException
The record format for points in the LAS file

Product Availability

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

Returns:
The pFormat
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSystemID

String getSystemID()
                   throws IOException,
                          AutomationException
The hardware system used to collect the LiDAR data in the LAS file.

Product Availability

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

Returns:
The pID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeneratingSoftware

String getGeneratingSoftware()
                             throws IOException,
                                    AutomationException
The software used to create the LAS file.

Product Availability

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

Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFlightDateJulian

int getFlightDateJulian()
                        throws IOException,
                               AutomationException
The flight date based on the Julian calendar.

Product Availability

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

Returns:
The pDate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYear

int getYear()
            throws IOException,
                   AutomationException
The year the data in the LAS file was collected.

Product Availability

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

Returns:
The pYear
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfPointRecords

double getNumberOfPointRecords()
                               throws IOException,
                                      AutomationException
The number of points in the LAS file.

Product Availability

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

Returns:
The pcRecords
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfPointsByReturn

double getNumberOfPointsByReturn(int returnNumber)
                                 throws IOException,
                                        AutomationException
The number of points in the LAS file based on the specified LiDAR return number.

Product Availability

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

Parameters:
returnNumber - The returnNumber (in)
Returns:
The pcPoints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjectID

IUID getProjectID()
                  throws IOException,
                         AutomationException
The LAS file's project ID.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileSourceID

int getFileSourceID()
                    throws IOException,
                           AutomationException
The LAS file's source ID.

Product Availability

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

Returns:
The pID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasRGB

boolean isHasRGB()
                 throws IOException,
                        AutomationException
Indicates if RGB is availabe.

Product Availability

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

Returns:
The pbHasRGB
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasGpsTime

boolean isHasGpsTime()
                     throws IOException,
                            AutomationException
Indicates GPS time is available.

Product Availability

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

Returns:
The pbHasGpsTime
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStandardGpsTime

boolean isStandardGpsTime()
                          throws IOException,
                                 AutomationException
Indicates if the GPS time is standard GPS Time.

Product Availability

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

Returns:
The pbIsAStandard
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

IEnvelope getExtent()
                    throws IOException,
                           AutomationException
The XYZ extent of points in the LAS file.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The spatial reference of the LAS file.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOffsets

void getOffsets(double[] pOffsetX,
                double[] pOffsetY,
                double[] pOffsetZ)
                throws IOException,
                       AutomationException
The coordinate offsets.

Product Availability

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

Parameters:
pOffsetX - The pOffsetX (out: use single element array)
pOffsetY - The pOffsetY (out: use single element array)
pOffsetZ - The pOffsetZ (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScaleFactors

void getScaleFactors(double[] pFactorX,
                     double[] pFactorY,
                     double[] pFactorZ)
                     throws IOException,
                            AutomationException
The coordinate scale factors.

Product Availability

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

Parameters:
pFactorX - The pFactorX (out: use single element array)
pFactorY - The pFactorY (out: use single element array)
pFactorZ - The pFactorZ (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfVariableLengthRecords

double getNumberOfVariableLengthRecords()
                                        throws IOException,
                                               AutomationException
The number of variable length records in the LAS file.

Product Availability

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

Returns:
The pcRecords
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVariableLengthRecords

void getVariableLengthRecords(IStringArray[] ppUserIDs,
                              ILongArray[] recordIDs,
                              IDoubleArray[] ppRecordLengths,
                              IStringArray[] ppDescriptions,
                              boolean[] pbOverLimit)
                              throws IOException,
                                     AutomationException
The variable length record info.

Product Availability

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

Parameters:
ppUserIDs - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
recordIDs - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
ppRecordLengths - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
ppDescriptions - A reference to a com.esri.arcgis.system.IStringArray (out: use single element array)
pbOverLimit - The pbOverLimit (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.