OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.92k stars 1.11k forks source link

max_tile safety check in DEM creation #1660

Closed pierotofy closed 1 year ago

pierotofy commented 1 year ago

Sometimes the commands.create_dem function will hang forever until it crashes due to bad reconstructions causing the program to attempt to generate DEM rasters of huge dimensions.

This PR adds a conservative heuristic that blocks the process before it attempts to do the impossible.

pierotofy commented 1 year ago