The E3DeLasHeader object contains the information read from the LAS file header and can be retrieved by calling the E3DLidar::GetLasHeader method.

This method has been deprecated. Use ENVIPointCloudMetadata instead.

Example


; Create a headless instance
e = E3De(/HEADLESS)
 
; Open a las file
file = FILEPATH('DataSample.las', ROOT_DIR=e.ROOT_DIR, $
  SUBDIRECTORY = ['DataSample'])
lidar = e.OpenLidar(file, /DIRECT_READ)
 
header = lidar.GetLasHeader()
print, header
 
; Close any open lidar objects
e.Close

Properties


Properties marked as (Get) can be retrieved, but not set.

FILE_NAME (Get)

The LAS file that this header was read from.

FILE_CREATION_DAY (Get)

Use this property to get the File Creation Day expressed as Greenwich Mean Time Day. January 1 is considered day 1.

FILE_CREATION_YEAR (Get)

Use this property to get the File Creation Year expressed as a four digit number.

FILE_SOURCE_ID (Get)

Use this property to get the File Source ID. See the LAS specification on the ASPRS web site for IDs.

GENERATING_SOFTWARE (Get)

Use this property to get the name of the Generating Software.

GLOBAL_ENCODING (Get)

Use this property to get the Global Encoding.

MAX_X (Get)

Use this property to get the maximum X coordinate of the points in the LAS file.

MAX_Y (Get)

Use this property to get the maximum Y coordinate of the points in the LAS file.

MAX_Z (Get)

Use this property to get the maximum Z coordinate of the points in the LAS file.

MIN_X (Get)

Use this property to get the minimum X coordinate of the points in the LAS file.

MIN_Y (Get)

Use this property to get the minimum Y coordinate of the points in the LAS file.

MIN_Z (Get)

Use this property to get the minimum Z coordinate of the points in the LAS file.

NUMBER_OF_POINT_RECORDS (Get)

Use this property to get the Number Of Point Records in the LAS file.

NUMBER_OF_VARIABLE_LENGTH_RECORDS (Get)

Use this property to get the Number Of Variable Length Records in the LAS file.

POINT_DATA_FORMAT (Get)

Use this property to get the Point Data Format (types 0 through 10 as specified in the LAS 1.4 spec) for the LAS file.

POINT_DATA_RECORD_LENGTH (Get)

Use this property to get the Point Data Record Length for the LAS file.

PROJECT_ID_GUID_DATA_1 (Get)

Use this property to get the Project Id GUID Data 1.

PROJECT_ID_GUID_DATA_2 (Get)

Use this property to get the Project Id GUID Data 2.

PROJECT_ID_GUID_DATA_3 (Get)

Use this property to get the Project Id GUID Data 3.

PROJECT_ID_GUID_DATA_4 (Get)

Use this property to get the Project Id GUID Data 4.

SYSTEM_IDENTIFIER (Get)

Use this property to get the System Identifier which describes how the LAS file data was collected or generated.

VERSION_MAJOR (Get)

Use this property to get Major Version field for the LAS file.

VERSION_MINOR (Get)

Use this property to get Minor Version field for the LAS file.

X_SCALE_FACTOR (Get)

Use this property to get the X scale factor for the LAS file.

Note: Points returned from E3DLidar::GetPointsInCircle, E3DLidar::GetPointsInPolygon, E3DLidar::GetPointsInRange, E3DLidar::GetPointsInRect, E3DLidar::GetPointsInTile already have this scale factor applied.

X_OFFSET (Get)

Use this property to get the X offset for the LAS file.

Note: Points returned from E3DLidar::GetPointsInCircle, E3DLidar::GetPointsInPolygon, E3DLidar::GetPointsInRange, E3DLidar::GetPointsInRect, E3DLidar::GetPointsInTile already have this offset applied.

Y_SCALE_FACTOR (Get)

Use this property to get the Y scale factor for the LAS file.

Note: Points returned from E3DLidar::GetPointsInCircle, E3DLidar::GetPointsInPolygon, E3DLidar::GetPointsInRange, E3DLidar::GetPointsInRect, E3DLidar::GetPointsInTile already have this scale factor applied.

Y_OFFSET (Get)

Use this property to get the Y offset for the LAS file.

Note: Points returned from E3DLidar::GetPointsInCircle, E3DLidar::GetPointsInPolygon, E3DLidar::GetPointsInRange, E3DLidar::GetPointsInRect, E3DLidar::GetPointsInTile already have this offset applied.

Z_SCALE_FACTOR (Get)

Use this property to get the Z scale factor for the LAS file.

Note: Points returned from E3DLidar::GetPointsInCircle, E3DLidar::GetPointsInPolygon, E3DLidar::GetPointsInRange, E3DLidar::GetPointsInRect, E3DLidar::GetPointsInTile already have this scale factor applied.

Z_OFFSET (Get)

Use this property to get the Z offset for the LAS file.

Note: Points returned from E3DLidar::GetPointsInCircle, E3DLidar::GetPointsInPolygon, E3DLidar::GetPointsInRange, E3DLidar::GetPointsInRect, E3DLidar::GetPointsInTile already have this offset applied.

Version History


3.2

Introduced

ENVI 5.3 Obsolete

See Also


E3DLidar::GetLasHeader, E3DLidar::GetPointsInCircle, E3DLidar::GetPointsInPolygon, E3DLidar::GetPointsInRange, E3DLidar::GetPointsInRect, E3DLidar::GetPointsInTile