[Liblas-devel] GPS Time and Global Encoding
Howard Butler
hobu.inc at gmail.com
Mon Mar 30 13:54:51 EDT 2009
On Mar 29, 2009, at 7:46 PM, Steve Harwin wrote:
> Hi,
>
> In the 1.2 LAS Spec it states that when the low bit is not set GPS
> Time is in GPS Week Time and when the low bit is set then GPS Time
> is in POSIX Time. How do I tell which of these LASPoint.GetTime()
> is returning? I do not see any way of getting the Global Encoding
> from the LASHeader object.
>
Steve,
The global encoding in the 1.2 spec is the same thing as "reserved"
was in the 1.0/1.1 specs. You would use LASHeader::Get|SetReserved
from the C++ API or LASHeader_Get|SetReserved from the C API.
Hope this helps,
Howard
More information about the Liblas-devel
mailing list