Applied-GeoSolutions / lidar2dems

Utilities using PDAL and PCL to create DTMs, DSMs, and CHMs from lidar data
91 stars 36 forks source link

l2d_chm large sites segfault #16

Closed F-Sullivan closed 9 years ago

F-Sullivan commented 9 years ago

For particularly large footprint sites (for example, site 212 50697x21767 pixels), calling l2d_chm with VRT inputs throws a segmentation fault. I used gdal_translate to generate tif files for the DTM and DSM of the site and was able to use these successfully as the input for l2d_chm. I repeated this workaround on three other sites.

matthewhanson commented 9 years ago

This should be handled by subtracting the two on a feature by feature basis.

Also, if something other than GIPPY is used to do the subtraction, GIPPY might be able to be removed as a dependency.

matthewhanson commented 9 years ago

fixed in v1.1.0 by creating CHM for each feature in site shapefile (if one provided). If not, it will create a single CHM using the final DTM/DSM images (VRT usually).