opengeos / whitebox-python

WhiteboxTools Python Frontend
https://pypi.org/project/whitebox/
MIT License
377 stars 68 forks source link

whitebox clip function corrupting output file #31

Closed arojas314 closed 2 years ago

arojas314 commented 2 years ago

Description

After using the whitebox tools clip function, the output lidar file seems to be corrupted. Attached is a zip folder with the lidar.laz tile. Also, here is an example error message I get when viewing the output file in lastools. 'chunk table and XXXXXXXXXX bytes are missing' is the common error message from the output file.

image

What I Did

wbt.clip_lidar_to_polygon(
    i="NEON_D01_HARV_DP1_732000_4713000_classified_point_cloud_colorized.laz", 
    polygons="towerPoly.shp", 
    output="lidarAOI.laz"
)

Thanks!

giswqs commented 2 years ago

This issue should be open at https://github.com/jblindsay/whitebox-tools/issues. The whitebox package is just a wrapper of the computing backend - WhiteboxTools. All output file writing issues should be reported on the WhiteboxTools repo.

arojas314 commented 2 years ago

Got it, thanks.