Blast2dem64 pcs.csv file path bug

108 views
Skip to first unread message

ncwil...@gmail.com

unread,
Feb 20, 2025, 7:29:29 AM2/20/25
to LAStools - efficient tools for LiDAR processing
I believe I found an issue with blast2dem64. It's trying to find the pcs.csv file in a folder that doesn't exist with the regular install. Works fine if I either use blast2dem or create the file path shown in the warning and copy the pcs.csv over there. 

Here is what I'm trying to run:
C:\lastools\bin\blast2dem64.exe -i LAZ_TINTEST\*.laz -step 2 -keep_extended_class 2 40 -kill 100 -o LAZ_TINTEST_C40_C2_TIN.tif -odir GridChecks_LAZ_TINTEST -merged

It fails to create an output tif, this is what I see printed out to the command prompt:
terrain finalization (using 2d quadtree) to level 8 with empty 0.
WARNING: cannot open [C:\lastools\bin\serf\blast\serf\geo\pcs.csv]. please check your installation.
ERROR: unknown EPSG code in '-epsg 6333'.
have bounding box. first pass not needed.
second pass: populating finalization counter grid ...
second pass: done. created 47449 leaf grid cells and stored 47449 sprinkle points
spfinalizer: needed 53.665 seconds
created parent grid cells (new total is 63953 cells)
third pass: using finalization grid to spatially finalize 6092542 points...
output precision is float ...
third pass: done. stored at most 8238972 chunked points (plus 47449 sprinkle points)
spfinalizer: needed 60.379 seconds
duplicate_points 11404
spdelaunay2d: needed 60.27 seconds
read 6092542 points. produced TIN with 6081138 vertices and 12162225 triangles
WARNING: set nverts 6092542 but v_count 6081138

Jochen Rapidlasso

unread,
Mar 20, 2025, 12:42:36 PM3/20/25
to LAStools - efficient tools for LiDAR processing
Hi,
we can not confirm this issue.
Did you use the latest version?
What is the excact console output if you use the "-v" argument?
It should start with something like:

LAStools BLAST blast2dem (by ...@rapidlasso.de) version 250304 (demo only)
llx/lly unspecified. set to lower left bounding box 476940/4.36647e+06.
terrain finalization (using 2d quadtree) to level 6 with empty 0.
...

Cheers,

Jochen @rapidlasso

ncwil...@gmail.com

unread,
Mar 23, 2025, 3:43:13 AM3/23/25
to LAStools - efficient tools for LiDAR processing
Hi Jochen, 

I just grabbed the most recent LAStools release, below is the console output. Different set of sample tiles than the previous test I did, so now it is looking for the vertcs.csv. 

D:\_test>blast2dem64 -i *.las -keep_extended_class 1 2 9 40 -kill 100 -merged -odir _grids -o test_out.tif -v
LAStools BLAST blast2dem (by in...@rapidlasso.de) version 250304 (commercial)
step size was unspecified. set to 1.
llx/lly unspecified. set to lower left bounding box 452500/8.723e+06.

terrain finalization (using 2d quadtree) to level 8 with empty 0.
have bounding box. first pass not needed.
second pass: populating finalization counter grid ...
WARNING: cannot open [C:\LASTools\bin\serf\blast\serf\geo\vertcs.csv]. please check your installation.
ERROR: unknown vertical EPSG code in '-vertical_epsg 9001'.
second pass: done. created 51223 leaf grid cells and stored 51223 sprinkle points
spfinalizer: needed 3.375 seconds
created parent grid cells (new total is 68582 cells)
third pass: using finalization grid to spatially finalize 14323830 points...

output precision is float ...
third pass: done. stored at most 19525842 chunked points (plus 51223 sprinkle points)
spfinalizer: needed 12.46 seconds
duplicate_points 102
spdelaunay2d: needed 12.456 seconds
read 14323830 points. produced TIN with 14323728 vertices and 28647341 triangles
WARNING: set nverts 14323830 but v_count 14323728
took 15.883 sec to create '_grids\test_out.tif'.

LAStools - efficient tools for LiDAR processing

unread,
Mar 24, 2025, 4:57:48 AM3/24/25
to LAStools - efficient tools for LiDAR processing
Hi,
thanks for the additional info. Finally we could fix this problem.
Please download this fix 
and replace the files in \LAStools\bin\blast\serf with the new files.

Thanks,

Jochen @rapidlasso
Reply all
Reply to author
Forward
0 new messages