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


ITerrainLasDataInfo2.GetFileSourceID Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainLasDataInfo2.GetFileSourceID Method

The LAS file's source ID.

[Visual Basic .NET]
Public Function GetFileSourceID ( _
) As Integer
[C#]
public int GetFileSourceID (
);
[C++]
HRESULT GetFileSourceID(
  long* pID
);
[C++]

Parameters pID [out, retval] pID is a parameter of type long

Product Availability

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

Description

Returns the 'File Source ID' listed in the header of the LAs file.

Here's a description for 'File Source ID' as listed in the LAS 1.2 specification:
File Source ID (Flight Line Number if this file was derived from an original flight line): This field should be set to a value between 1 and 65,535, inclusive. A value of zero (0) is interpreted to mean that an ID has not been assigned. In this case, processing software is free to assign any valid number. Note that this scheme allows a LIDAR project to contain up to 65,535 unique sources. A source can be considered an original flight line or it can be the result of merge and/or extract operations.

See Also

ITerrainLasDataInfo2 Interface