Hi,
We are having problems rendering a raster with blast2dem when using neighboring tiles.
Command:
blast2dem64 -i N5122D2_6.laz -o /code/foo_new.tif -epsg 3067 -step 2 -keep_class 2 -buffered 300 -kill 300 -ncols 500 -nrows 500 -ll 507000 6905000 -neighbors N5122D2_3.laz N5122D2_2.laz N5122D2_1.laz N5122D2_5.laz N5122D2_8.laz N5122D2_9.lazThe command produces a raster with the correct dimensions and origin based on the specified lower-left coordinates. However, the lower-left and lower-right corners contain NoData pixels because the input LAZ tile does not contain points exactly at those corners.
Our understanding is that the -neighbors and -buffered options should address this issue by allowing points from neighboring tiles to be used, so those corner pixels should be populated. Interestingly, running the exact same command with las2dem64 works as expected and the corner pixels are assigned valid values.
Additionally, blast2dem prints the following message:
LASreaderBuffered: adding 48992 buffer points.which suggests that it is correctly reading and recognizing the neighboring points.
I have also attached an image showing the result. In the image, the point cloud points are visualized as dark brown points, the black line shows the raster extent, and the blue areas represent NoData pixels in the output raster.
The blast2dem / las2dem version is 260505 (government).
Sample LAZ files are available here:
https://github.com/nlsfi/pinta/tree/main/test_data/point_clouds/2025/production_area_1
Is this expected behavior, or are we using some wrong options for blast2dem?
Thanks.
Thanks for the quick response and investigation! Indeed, the last2dem/lastdem_new appears to work correctly, so we can use it for the time being. Hopefully, the blast2dem issue can be fixed at some point in a future release.
-Roni
