I have verified that I can filter a copc laz file with las2las version 20240319 and grid it with lasgrid64 version 20240319 or version 20250304 but if I filter it with las2las version 20250304 I can't grid it with lasgrid64 version 20240319 or 20250304. Interestingly, I can still grid it with lasgrid.exe version 20250304...
I suspect it has to do with treatment of the COPC VLRs but I'm not sure.
To reproduce the issue:
Download:
run:
las2las -i 20241029_FEMA_FL_17RLL3237.copc.laz -drop_extended_class 29 -target_epsg 6346 -elevation_meter -longlat -target_elevation_meter -olaz -o test3.laz
lasgrid64 -i test3.laz -step 1 -elevation_average -otif -o test6.tif -vv
Here's what I get:
C:\Users\aritchie>lasgrid64 -version
LAStools (by
in...@rapidlasso.de) version 240319 (non-profit)
C:\Users\aritchie>las2las -i "C:\Users\aritchie\Downloads\20241029_FEMA_FL_17RLL3237.copc.laz" -drop_extended_class 29 -target_epsg 6346 -elevation_meter -longlat -target_elevation_meter -olaz -o test3.laz
WARNING: horizontal datum of source unspecified. assuming same as target.
C:\Users\aritchie>lasgrid64 -i test3.laz -step 1 -elevation_average -otif -o test6.tif -vv
Log level [VERY_VERBOSE]
WARNING: COPC EPT hierarchy EVLR number of point does not match with the header.
WARNING: invalid COPC EPT hierarchy (not specification-conform).
ncols was unspecified. set to 1001.
nrows was unspecified. set to 1001.
gridding points onto 1001 by 1001 grid (spacing = 1.00 units)
gridded 13128683 points onto 1001 by 1002 grid (spacing = 1.00 units)
took 1.846 sec. now outputting the grid ...
took 0.039 sec. done with 'test6.tif'.
<upgrade lastools>
C:\Users\aritchie>lasgrid64 -version
LAStools lasgrid (by
in...@rapidlasso.de) version 250304 (non-profit)
C:\Users\aritchie>lasgrid64 -i test3.laz -step 1 -elevation_average -otif -o test6.tif -vv
Log level [VERY_VERBOSE]
LAStools lasgrid (by
in...@rapidlasso.de) version 250304 (non-profit)
WARNING: COPC EPT hierarchy EVLR number of point does not match with the header.
WARNING: invalid COPC EPT hierarchy (not specification-conform).
open file 'test3.laz'
ncols was unspecified. set to 1001.
nrows was unspecified. set to 1001.
gridding points onto 1001 by 1001 grid (spacing = 1.00 units)
gridded 13128683 points onto 1001 by 1002 grid (spacing = 1.00 units)
took 1.84 sec. now outputting the grid ...
took 0.04 sec. done with 'test6.tif'.
C:\Users\aritchie>las2las -i "C:\Users\aritchie\Downloads\20241029_FEMA_FL_17RLL3237.copc.laz" -drop_extended_class 29 -target_epsg 6346 -elevation_meter -longlat -target_elevation_meter -olaz -o test3.laz
WARNING: horizontal datum of source unspecified. assuming same as target.
************BELOW CRASHES**********
C:\Users\aritchie>lasgrid64 -i test3.laz -step 1 -elevation_average -otif -o test6.tif -vv
Log level [VERY_VERBOSE]
LAStools lasgrid (by
in...@rapidlasso.de) version 250304 (non-profit)
C:\Users\aritchie>
but I can still run 32-bit lasgrid:
C:\Users\aritchie>lasgrid -i test3.laz -step 1 -elevation_average -otif -o test6.tif -vv
ncols was unspecified. set to 1001.
nrows was unspecified. set to 1001.
gridding points onto 1001 by 1001 grid (spacing = 1.00 units)
gridded 13128683 points onto 1001 by 1002 grid (spacing = 1.00 units)
took 2.08 sec. now outputting the grid ...
took 0.045 sec. done with 'test6.tif'.