'Killed' on orthophoto generation

From @everydayduffy on Tue May 30 2017 21:09:30 GMT+0000 (UTC)

Running ODM with docker on Windows 10. Ran the following:

docker run -it --rm -v C:/Software/OpenDroneMap/images:/code/images -v C:/Software/OpenDroneMap/odm_orthophoto:/code/odm_orthophoto -v C:/Software/OpenDroneMap/odm_texturing:/code/odm_texturing my_odm_image --opensfm-processes 4 --dem --min-num-features 12000 --orthophoto-resolution 2500

The processing got so far and printed the following:

[DEBUG] lat_frac: 25209/1 7/1 34006/1000
[DEBUG] lat_frac: 25218/1 27/1 51557/1000
[DEBUG] lat_frac: 25220/1 53/1 27679/1000
[DEBUG] running /code/SuperBuild/build/pdal/bin/pdal pipeline -i /code/odm_georeferencing/las.json --readers.ply.filen
ame=/code/odm_georeferencing/odm_georeferenced_model.ply --writers.las.filename=/code/odm_georeferencing/odm_georeferenc
[DEBUG] running /code/SuperBuild/build/pdal/bin/pdal pipeline /code/odm_georeferencing/dem.json --readers.las.filename
=/code/odm_georeferencing/odm_georeferenced_model.las --writers.gdal.filename=/code/odm_georeferencing/odm_georeferencin
[INFO] DEM created at /code/odm_georeferencing/odm_georeferencing_model_dem.tif
[INFO] Creating geo-referenced CSV file (XYZ format)
[WARNING] Found a valid georeferenced model in: /code/odm_georeferencing/odm_georeferenced_model.ply
[INFO] Running ODM Georeferencing Cell - Finished
[INFO] Running ODM Orthophoto Cell
[DEBUG] running /code/build/bin/odm_orthophoto -inputFile /code/odm_texturing/odm_textured_model_geo.obj -logFile /cod
e/odm_orthophoto/odm_orthophoto_log.txt -outputFile /code/odm_orthophoto/odm_orthophoto.png -resolution 2500.0 -outputC
ornerFile /code/odm_orthophoto/odm_orthophoto_corners.txt
Traceback (most recent call last):
File “/code/run.py”, line 46, in
File “/code/scripts/odm_orthophoto.py”, line 74, in process
‘-outputCornerFile {corners}’.format(**kwargs))
File “/code/opendm/system.py”, line 28, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 137

My odm_orthophoto and odm_texturing folders were empty before running, so not sure why it killed itself. If anyone has advice, that would be much appreciated.

Thank you.

Copied from original issue: 'Killed' on orthophoto generation · Issue #592 · OpenDroneMap/ODM · GitHub

From @yjmenezes on Tue May 30 2017 22:11:18 GMT+0000 (UTC)


you set --orthophoto-resolution 2500.
2500 pixel by square meter is too much (2cmx2cm).
ODM default is 20. ( pixel~ 22cmx22cm)
you could take your original image GSD as reference.

From @everydayduffy on Wed May 31 2017 10:00:05 GMT+0000 (UTC)

@yjmenezes - My original GSD is 0.79cm/pixel.

So that’s why I wanted something high res like 2500!

From @yjmenezes on Wed May 31 2017 15:19:04 GMT+0000 (UTC)


your output file will be very big using 2500/square meter.
you could try test all process starting from 25, 250, than 500, and so on.