Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Commit

Permalink
Add point formats 6, 7, 8, 9 10 to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Jul 31, 2018
1 parent 5f4d0fc commit 3eabe3a
Showing 1 changed file with 158 additions and 13 deletions.
171 changes: 158 additions & 13 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ your code.
dtype('float64')


* Point Format 0
Point Format 0
++++++++++++++

+----------------------+-----------+--------------+
| Dimensions | Type | Size (bit) |
Expand All @@ -102,9 +103,9 @@ your code.
+----------------------+-----------+--------------+
| synthetic | bool | 1 |
+----------------------+-----------+--------------+
| key_point | signed | 8 |
| key_point | bool | 1 |
+----------------------+-----------+--------------+
| withheld | signed | 8 |
| withheld | bool | 1 |
+----------------------+-----------+--------------+
| scan_angle_rank | signed | 8 |
+----------------------+-----------+--------------+
Expand All @@ -117,7 +118,8 @@ your code.
The point formats 1, 2, 3, 4, 5 are based on the point format 0, meaning that they have
the same dimensions plus some additional dimensions:

* Point Format 1
Point Format 1
++++++++++++++

+----------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
Expand All @@ -126,7 +128,8 @@ the same dimensions plus some additional dimensions:
+----------------------+-----------+--------------+


* Point Format 2
Point Format 2
++++++++++++++

+----------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
Expand All @@ -138,7 +141,8 @@ the same dimensions plus some additional dimensions:
| blue | unsigned | 16 |
+----------------------+-----------+--------------+

* Point Format 3
Point Format 3
++++++++++++++

+----------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
Expand All @@ -153,12 +157,13 @@ the same dimensions plus some additional dimensions:
+----------------------+-----------+--------------+


* Point Format 4
Point Format 4
++++++++++++++

+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+============================+===========+==============+
| gps_time | Floating | 64 |
| gps_time | Floating | 64 |
+----------------------------+-----------+--------------+
| wavepacket_index | unsigned | 8 |
+----------------------------+-----------+--------------+
Expand All @@ -168,14 +173,15 @@ the same dimensions plus some additional dimensions:
+----------------------------+-----------+--------------+
| return_point_wave_location | unsigned | 32 |
+----------------------------+-----------+--------------+
|x_t | floating | 32 |
| x_t | floating | 32 |
+----------------------------+-----------+--------------+
|y_t | floating | 32 |
| y_t | floating | 32 |
+----------------------------+-----------+--------------+
| z_t | floating | 32 |
+----------------------------+-----------+--------------+

* Point Format 5
Point Format 5
++++++++++++++

+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
Expand All @@ -196,13 +202,152 @@ the same dimensions plus some additional dimensions:
+----------------------------+-----------+--------------+
| return_point_wave_location | unsigned | 32 |
+----------------------------+-----------+--------------+
|x_t | floating | 32 |
| x_t | floating | 32 |
+----------------------------+-----------+--------------+
| y_t | floating | 32 |
+----------------------------+-----------+--------------+
| z_t | floating | 32 |
+----------------------------+-----------+--------------+


Point Format 6
++++++++++++++

The Point Format 6, is the new base point format (6, 7, 8, 9, 10) introduced in the LAS specification 1.4.
The main modifications from point format 0 and point format 6 are that now the gps_time is baseline
and some fields takes more bits, for example the classification is now stored on 8 bits (previously 5).


+----------------------+-----------+--------------+
| Dimensions | Type | Size (bit) |
+======================+===========+==============+
| X | signed | 32 |
+----------------------+-----------+--------------+
| Y | signed | 32 |
+----------------------+-----------+--------------+
| Z | signed | 32 |
+----------------------+-----------+--------------+
| intensity | unsigned | 16 |
+----------------------+-----------+--------------+
| return_number | unsigned | 4 |
+----------------------+-----------+--------------+
| number_of_returns | unsigned | 4 |
+----------------------+-----------+--------------+
| synthetic | bool | 1 |
+----------------------+-----------+--------------+
| key_point | bool | 1 |
+----------------------+-----------+--------------+
| withheld | bool | 1 |
+----------------------+-----------+--------------+
| overlap | bool | 1 |
+----------------------+-----------+--------------+
| scanner_channel | unsigned | 2 |
+----------------------+-----------+--------------+
| scan_direction_flag | bool | 1 |
+----------------------+-----------+--------------+
| edge_of_flight_line | bool | 1 |
+----------------------+-----------+--------------+
| classification | unsigned | 8 |
+----------------------+-----------+--------------+
| user_data | unsigned | 8 |
+----------------------+-----------+--------------+
| scan_angle_rank | signed | 16 |
+----------------------+-----------+--------------+
| point_source_id | unsigned | 8 |
+----------------------+-----------+--------------+
| gps_time | Floating | 64 |
+----------------------+-----------+--------------+

Point Format 7
++++++++++++++

Add RGB to point format 6.

+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+============================+===========+==============+
| red | unsigned | 16 |
+----------------------------+-----------+--------------+
| green | unsigned | 16 |
+----------------------------+-----------+--------------+
| blue | unsigned | 16 |
+----------------------------+-----------+--------------+


Point Format 8
++++++++++++++

Adds RGB and Nir (Near Infrared) to point format 6.

+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+============================+===========+==============+
| red | unsigned | 16 |
+----------------------------+-----------+--------------+
| green | unsigned | 16 |
+----------------------------+-----------+--------------+
| blue | unsigned | 16 |
+----------------------------+-----------+--------------+
| nir | unsigned | 16 |
+----------------------------+-----------+--------------+


Point Format 9
++++++++++++++

Add waveform data to points

+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+============================+===========+==============+
| wavepacket_index | unsigned | 8 |
+----------------------------+-----------+--------------+
| wavepacket_offset | unsigned | 64 |
+----------------------------+-----------+--------------+
| wavepacket_size | unsigned | 32 |
+----------------------------+-----------+--------------+
| return_point_wave_location | unsigned | 32 |
+----------------------------+-----------+--------------+
| x_t | floating | 32 |
+----------------------------+-----------+--------------+
| y_t | floating | 32 |
+----------------------------+-----------+--------------+
| z_t | floating | 32 |
+----------------------------+-----------+--------------+


Point Format 10
+++++++++++++++

Adds RGB, Nir (near infrared), waveform data to point format 6

+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+============================+===========+==============+
| red | unsigned | 16 |
+----------------------------+-----------+--------------+
| green | unsigned | 16 |
+----------------------------+-----------+--------------+
| blue | unsigned | 16 |
+----------------------------+-----------+--------------+
| nir | unsigned | 16 |
+----------------------------+-----------+--------------+
| wavepacket_index | unsigned | 8 |
+----------------------------+-----------+--------------+
| wavepacket_offset | unsigned | 64 |
+----------------------------+-----------+--------------+
| wavepacket_size | unsigned | 32 |
+----------------------------+-----------+--------------+
| return_point_wave_location | unsigned | 32 |
+----------------------------+-----------+--------------+
| x_t | floating | 32 |
+----------------------------+-----------+--------------+
|y_t | floating | 32 |
| y_t | floating | 32 |
+----------------------------+-----------+--------------+
| z_t | floating | 32 |
+----------------------------+-----------+--------------+


EVLRs
-----

Expand Down

0 comments on commit 3eabe3a

Please sign in to comment.