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

Fix for RasterioIOError BigTIFF #1477

Closed smathermather closed 2 years ago

pierotofy commented 2 years ago
  File "/code/opendm/orthophoto.py", line 132, in compute_mask_raster
    with rasterio.open(output_raster, 'w', get_orthophoto_vars(args), **rast.profile) as dst:
NameError: name 'args' is not defined

I'm not sure you can pass the orthophoto args to rasterio.open in that way. :smile:

smathermather commented 2 years ago

I'm not sure you can pass the orthophoto args to rasterio.open in that way.

Fair. :laughing: . We can just statically set it. Probably shouldn't try pull requests between taking the kid to gymnastics, eating dinner, and wrangling a baseball game.

pierotofy commented 2 years ago

Works great now, thanks!