I can't process tif files on WebODM

I am getting The program could not process this dataset using the current settings. I am using the default settings with DSM/DTM set to true. Is it possible to process orthophoto files generated from the already processed task together?

[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm compute_statistics --diagram_max_points 100000 “/var/www/data/5f33463b-ef9d-4fe6-b7aa-1c6646838af6/opensfm”
Traceback (most recent call last):
File “/code/SuperBuild/src/opensfm/bin/opensfm_main.py”, line 15, in
commands.command_runner(commands.opensfm_commands, default_dataset_type)
File “/code/SuperBuild/src/opensfm/opensfm/commands/command_runner.py”, line 31, in command_runner
command.run(data, args)
File “/code/SuperBuild/src/opensfm/opensfm/commands/command.py”, line 12, in run
self.run_impl(data, args)
File “/code/SuperBuild/src/opensfm/opensfm/commands/compute_statistics.py”, line 10, in run_impl
compute_statistics.run_dataset(dataset, args.diagram_max_points)
File “/code/SuperBuild/src/opensfm/opensfm/actions/compute_statistics.py”, line 23, in run_dataset
stats_dict = stats.compute_all_statistics(data, tracks_manager, reconstructions)
File “/code/SuperBuild/src/opensfm/opensfm/stats.py”, line 295, in compute_all_statistics
stats[“reconstruction_statistics”] = reconstruction_statistics(
File “/code/SuperBuild/src/opensfm/opensfm/stats.py”, line 156, in reconstruction_statistics
stats[“average_track_length_over_two”] = int(sum(lengths[1:] * counts[1:])) / sum(
ZeroDivisionError: division by zero
Traceback (most recent call last):
File “/code/run.py”, line 68, in
File “/code/stages/odm_app.py”, line 81, in execute
File “/code/opendm/types.py”, line 338, in run
File “/code/opendm/types.py”, line 338, in run
File “/code/opendm/types.py”, line 338, in run
File “/code/opendm/types.py”, line 319, in run
self.process(self.args, outputs)
File “/code/stages/run_opensfm.py”, line 62, in process
File “/code/opendm/osfm.py”, line 403, in export_stats
self.run(“compute_statistics --diagram_max_points 100000”)
File “/code/opendm/osfm.py”, line 27, in run
system.run(’%s/bin/opensfm %s “%s”’ %
File “/code/opendm/system.py”, line 79, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1

Computing statistics data failed with a zero division error. How can I modify this value --diagram_max_points 100000?

I doubt it. The final orthophotos likely won’t have sufficient overlap/sidelap with one another for photogrammetry. You likely will need a 2D stitching program to composite them.

1 Like

Can you tell me one of such programs please.

Also, any method to get the 3d of the composite image?

Microsoft Image Composite Editor is one. You can also try to mosaic them in QGIS.

No way to get 3D from them since you won’t have adequate stereo separation for photogrammetry. You may be able to composite or mosaic the DSMs, though.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.