DTM 或 DSM 作业失败
webodm 3.0.1 nodeODM:latest FastOrtho job finishes successfully any DTM or DSM fail with `ImportError: cannot import name '_gdal_array' from 'osgeo' (/code/venv/lib/python3.12/site-packages/osgeo/__init__.py) [INFO] Computing raster stats for /var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.preview.tif [INFO] running gdaldem color-relief "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.preview.tif" "/code/opendm/tiles/color_relief.txt" "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.previewcolor.tif" -alpha -co ALPHA=YES 0...10...20...30...40...50...60...70...80...90...100 - done. [INFO] running gdaldem hillshade "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.preview.tif" "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.previewhillshade.tif" -z 1.0 -s 1.0 -az 315.0 -alt 45.0 0...10...20...30...40...50...60...70...80...90...100 - done. [INFO] running "/code/venv/bin/python3" "/code/opendm/tiles/hsv_merge.py" "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.previewcolor.tif" "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.previewhillshade.tif" "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/odm_dem/dsm.previewcolored_hillshade.tif" /code/venv/lib/python3.12/site-packages/osgeo/gdal.py:312: FutureWarning: Neither gdal.UseExceptions() nor gdal.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default. warnings.warn( Traceback (most recent call last): File "/code/opendm/tiles/hsv_merge.py", line 198, in <module> rScanline = rBand.ReadAsArray(0, i, hillband.XSize, 1, hillband.XSize, 1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/code/venv/lib/python3.12/site-packages/osgeo/gdal.py", line 5283, in ReadAsArray from osgeo import gdal_array File "/code/venv/lib/python3.12/site-packages/osgeo/gdal_array.py", line 10, in <module> from . import _gdal_array ImportError: cannot import name '_gdal_array' from 'osgeo' (/code/venv/lib/python3.12/site-packages/osgeo/__init__.py) [WARNING] Cannot generate colored hillshade: Child returned 1 [INFO] running gdal_translate -outsize 1400 0 -of png "None" "/var/www/data/6fa96244-8b2a-41a8-ab1b-9da86fb6ae07/opensfm/stats/dsm.png" --config GDAL_CACHEMAX 32.75% ERROR 4: None: No such file or directory ===== Dumping Info for Geeks (developers need this to fix bugs) ===== Child returned 1 Traceback (most recent call last): File "/code/stages/odm_app.py", line 82, in execute self.first_stage.run() File "/code/opendm/types.py", line 470, in run self.next_stage.run(outputs) File "/code/opendm/types.py", line 470, in run self.next_stage.run(outputs) File "/code/opendm/types.py", line 470, in run self.next_stage.run(outputs) [Previous line repeated 8 more times] File "/code/opendm/types.py", line 449, in run self.process(self.args, outputs) File "/code/stages/odm_report.py", line 214, in process system.run("gdal_translate -outsize
内容来源: OpenDroneMap/ODM