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

Commit

Permalink
Add type & size to the point record tables
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Jun 2, 2018
1 parent 375e220 commit 9cba2f7
Showing 1 changed file with 105 additions and 91 deletions.
196 changes: 105 additions & 91 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,118 +53,132 @@ and LAS file version.
|1.4 | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 |
+-----------------+-----------------------------------+

The names written in the tables below are the one you will have to use in
your code.

* Point Format 0 *

+-------------------+
| Dimensions |
+===================+
| X |
+-------------------+
| Y |
+-------------------+
| Z |
+-------------------+
| intensity |
+-------------------+
| bit_fields |
+-------------------+
| raw_classification|
+-------------------+
| scan_angle_rank |
+-------------------+
| user_data |
+-------------------+
| point_source_id |
+-------------------+
+----------------------+-----------+--------------+
| Dimensions | Type | Size (bit) |
+======================+===========+==============+
| X | signed | 32 |
+----------------------+-----------+--------------+
| Y | signed | 32 |
+----------------------+-----------+--------------+
| Z | signed | 32 |
+----------------------+-----------+--------------+
| intensity | unsigned | 16 |
+----------------------+-----------+--------------+
| return_number | unsigned | 3 |
+----------------------+-----------+--------------+
| number_of_returns | unsigned | 3 |
+----------------------+-----------+--------------+
| scan_direction_flag | bool | 1 |
+----------------------+-----------+--------------+
| edge_of_flight_line | bool | 1 |
+----------------------+-----------+--------------+
| classification | unsigned | 5 |
+----------------------+-----------+--------------+
| synthetic | bool | 1 |
+----------------------+-----------+--------------+
| key_point | signed | 8 |
+----------------------+-----------+--------------+
| withheld | signed | 8 |
+----------------------+-----------+--------------+
| scan_angle_rank | signed | 8 |
+----------------------+-----------+--------------+
| user_data | unsigned | 8 |
+----------------------+-----------+--------------+
| point_source_id | unsigned | 8 |
+----------------------+-----------+--------------+


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

+------------------+
| Added dimensions |
+==================+
| gps_time |
+------------------+
+----------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+======================+===========+==============+
| gps_time | Floating | 64 |
+----------------------+-----------+--------------+


* Point Format 2

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

* Point Format 3

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


* Point Format 4

+---------------------------+
| Added dimensions |
+===========================+
| gps_time |
+---------------------------+
|wavepacket_index |
+---------------------------+
|wavepacket_offset |
+---------------------------+
|wavepacket_size |
+---------------------------+
|return_point_wave_location |
+---------------------------+
|x_t |
+---------------------------+
|y_t |
+---------------------------+
|z_t |
+---------------------------+

+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+============================+===========+==============+
| gps_time | Floating | 64 |
+----------------------------+-----------+--------------+
| 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 5

+---------------------------+
| Added dimensions |
+===========================+
| gps_time |
+---------------------------+
| red |
+---------------------------+
| green |
+---------------------------+
| blue |
+---------------------------+
|wavepacket_index |
+---------------------------+
|wavepacket_offset |
+---------------------------+
|wavepacket_size |
+---------------------------+
|return_point_wave_location |
+---------------------------+
|x_t |
+---------------------------+
|y_t |
+---------------------------+
|z_t |
+---------------------------+
+----------------------------+-----------+--------------+
| Added dimensions | Type | Size (bit) |
+============================+===========+==============+
| gps_time | Floating | 64 |
+----------------------------+-----------+--------------+
| red | unsigned | 16 |
+----------------------------+-----------+--------------+
| green | unsigned | 16 |
+----------------------------+-----------+--------------+
| blue | 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 |
+----------------------------+-----------+--------------+
| z_t | floating | 32 |
+----------------------------+-----------+--------------+

0 comments on commit 9cba2f7

Please sign in to comment.