Skip to content

Commit a9961d6

Browse files
committed
Added Min/Max GPS Time to header block. (#118)
Began work on LAS 1.5 introductory sections. (#131)
1 parent 29a5b56 commit a9961d6

File tree

2 files changed

+49
-4
lines changed

2 files changed

+49
-4
lines changed

source/01_intro.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,25 @@ This document reflects the fourth revision of the LAS format specification
1616
since its initial version 1.0 release.
1717

1818

19+
LAS 1.5 Revision History
20+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21+
22+
Summary of LAS 1.5 revisions (GitHub Issue numbers included when applicable):
23+
24+
* R00 - Approved Version (XXXXXXX).
25+
26+
27+
Comparison of LAS 1.5 to Previous Versions
28+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29+
30+
The additions of LAS 1.5 include:
31+
32+
* Backward compatibility with LAS 1.1 – LAS 1.4.
33+
* LAS 1.5 mode which supports:
34+
35+
* Added Max/Min GPS Time fields to header block.
36+
(`I-118 <https://github.com/ASPRSorg/LAS/issues/118>`_)
37+
1938
LAS 1.4 Revision History
2039
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2140

source/02.04_header.sub

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ Public Header Block
8787
+----------------------------------+-------------------------+-----------------+-----------+--------------+
8888
| Number of Points by Return | uint64_t[15] | 255 | 120 bytes | yes |
8989
+----------------------------------+-------------------------+-----------------+-----------+--------------+
90+
| Max GPS Time | double | 375 | 8 bytes | |
91+
+----------------------------------+-------------------------+-----------------+-----------+--------------+
92+
| Min GPS Time | double | 383 | 8 bytes | |
93+
+----------------------------------+-------------------------+-----------------+-----------+--------------+
94+
| *LAS 1.5 Header Size* | *391 bytes* |
95+
+------------------------------------------------------------+--------------------------------------------+
9096

9197
.. note::
9298

@@ -197,8 +203,8 @@ file can be uniquely identified, globally.
197203

198204
The version number consists of a major and minor field. The major and minor
199205
fields combine to form the number that indicates the format number of the
200-
current specification itself. For example, specification number 1.4 would
201-
contain 1 in the major field and 4 in the minor field. It should be noted that
206+
current specification itself. For example, specification number 1.5 would
207+
contain 1 in the major field and 5 in the minor field. It should be noted that
202208
the LAS Working Group does not associate any particular meaning to major or
203209
minor version number.
204210

@@ -257,8 +263,8 @@ The year, expressed as a four digit number, in which the file was created.
257263

258264
**Header Size**
259265

260-
The size, in bytes, of the Public Header Block itself. For LAS 1.4 this size is
261-
375 bytes. In the event that the header is extended by a new revision of the
266+
The size, in bytes, of the Public Header Block itself. For LAS 1.5 this size is
267+
391 bytes. In the event that the header is extended by a new revision of the
262268
LAS specification through the addition of data at the end of the header, the
263269
Header Size field will be updated with the new header size. The Public Header
264270
Block may not be extended by users.
@@ -344,6 +350,8 @@ The max and min data fields are the actual unscaled extents of the LAS point
344350
file data, specified in the coordinate system of the LAS data. If there are no
345351
point records in the file, these values must be set to zero.
346352

353+
Any changes to the point records must be re
354+
347355
**Start of Waveform Data Packet Record**
348356

349357
This value provides the offset, in bytes, from the beginning of the LAS file to
@@ -376,6 +384,13 @@ This field contains the total number of point records in the file. Note that
376384
this field must always be correctly populated, regardless of legacy mode
377385
intent.
378386

387+
.. note::
388+
389+
Any changes to the number of points or their attributes must also be reflected
390+
in the Public Header Block.
391+
392+
393+
379394
**Number of Points by Return**
380395

381396
These fields contain an array of the total point records per return. The first
@@ -384,3 +399,14 @@ contains the total number for return two, and so on up to fifteen returns. Note
384399
that these fields must always be correctly populated, regardless of legacy mode
385400
intent.
386401

402+
**Max and Min GPS Time**
403+
404+
The max and min GPS Time fields reflect the highest and lowest valid (non-zero,
405+
generally) GPS Time values stored with the point records in this LAS file. The
406+
GPS Time in this field will be in the same encoding described in the file's
407+
:ref:`Global Encoding <globalencoding_link>` field.
408+
409+
If there are no points records in the file, these values must be set to zero.
410+
411+
For :ref:`Aggregate Model Systems <aggregate_link>` or LAS files not utilizing
412+
GPS Time, these values must be set to zero.

0 commit comments

Comments
 (0)