Hi Marcel,
let's take a small file and do some samples:
We take zurich.laz out of the LAStools demo folder:
lasinfo -i zurich.laz -nc
number of point records: 656837
scale factor x y z: 0.01 0.01 0.01
offset x y z: 0 0 0
min x y z: 676750.00 246000.00 547.29
max x y z: 676849.99 246099.99 573.87
first step always is indexing:
lasindex64 -i c:\lastools\data\zurich.laz -o tmp.laz
lastile64 -i tmp.laz -tile_size 80 -buffer 7 -odir tmp -olaz
creates 4 files:
scale factor x y z: 0.01 0.01 0.01
offset x y z: 0 0 0
based on our min/max values the total bounding box is calculated:
bb-min = floor(min/tilesize)
bb-max = ceil(min/tilesize)
>> bbox 676720 246000 - 676880 246160
then, we see the bounding boxes of each file ONLY in the min/max values of the header:
676720_246000.laz
number of point records: 304068
min x y z: 676750.00 246000.00 523.42
max x y z: 676806.99 246086.99 573.79
LAStiling (idx 0, lvl 1, sub 0, bbox 676720 246000 676880 246160, buffer) (size 80 x 80, buffer 6.99)
676720_246080.laz
number of point records: 80837
min x y z: 676750.00 246073.00 547.29
max x y z: 676806.99 246099.99 567.73
LAStiling (idx 2, lvl 1, sub 0, bbox 676720 246000 676880 246160, buffer) (size 80 x 80, buffer 7)
676800_246000.laz
number of point records: 373209
min x y z: 676793.00 246000.00 506.23
max x y z: 676849.99 246086.99 573.90
LAStiling (idx 1, lvl 1, sub 0, bbox 676720 246000 676880 246160, buffer) (size 80 x 80, buffer 7)
676800_246080.laz
number of point records: 114815
min x y z: 676793.00 246073.00 548.07
max x y z: 676849.99 246099.99 567.73
LAStiling (idx 3, lvl 1, sub 0, bbox 676720 246000 676880 246160, buffer) (size 80 x 80, buffer 7)
So you see, the LAStiling entry is primary metadata about the WHOLE area.
idx: index of tile within a tile-set
lvl: level of index, increased, if a tile is sub-tiles (-refine_tiles)
bbox: bounding box of the whole tile set (original file or file set)
size: size of this tile, maybe not complete covered with data
buffer: buffer size
You can use floor/ceil functions of the min/max values to get the whole bounding box of the tile in full tile dimensions.
You can use the buffer value in the meta data to add/subtract this value from the min/max values to the the bounding box
without buffer. Please take care that the boundary is just added BETWEEN tiles, not at the outer bounding box.
Good luck!
Jochen @rapidlasso