Main Content

hasGPSData

(Removed) Check if LAS or LAZ file has GPS data

Since R2022a

hasGPSData object function has been removed. To check for GPS data in a LAS or LAZ file, use any(lasReader.Attributes == "GPSTimeStamp") instead of hasGPSData(lasReader).

Description

flag = hasGPSData(lasReader) returns a logical 1 (true) if the specified LAS or LAZ file lasReader contains a GPS data. Otherwise, it returns a logical 0 (false).

Input Arguments

collapse all

LAS or LAZ file reader, specified as a lasFileReader object.

Version History

Introduced in R2022a

expand all