PermafrostDiscoveryGateway / viz-points

Python package for post-processing point-cloud data for 3D visualization
Apache License 2.0
0 stars 1 forks source link

Solve or work around `py3dtiles.merger.merge` bug #4

Closed iannesbitt closed 1 year ago

iannesbitt commented 1 year ago
Traceback (most recent call last):
  File "/home/nesbitt/miniconda3/envs/workflow/bin/py3dtiles", line 8, in <module>
    sys.exit(main())
  File "/home/nesbitt/miniconda3/envs/workflow/lib/python3.9/site-packages/py3dtiles/command_line.py", line 31, in main
    merger.main(args)
  File "/home/nesbitt/miniconda3/envs/workflow/lib/python3.9/site-packages/py3dtiles/merger.py", line 331, in main
    return merge_from_files(
  File "/home/nesbitt/miniconda3/envs/workflow/lib/python3.9/site-packages/py3dtiles/merger.py", line 304, in merge_from_files
    tileset = merge_with_pnts_content(tilesets, relative_tileset_paths)
  File "/home/nesbitt/miniconda3/envs/workflow/lib/python3.9/site-packages/py3dtiles/merger.py", line 259, in merge_with_pnts_content
    raise RuntimeError("Result shouldn't be None")
RuntimeError: Result shouldn't be None
iannesbitt commented 1 year ago

When calling py3dtiles.merger.merge directly rather than using the CLI, the error is

ValueError('result is None')
iannesbitt commented 1 year ago

Closing as "solved" because we probably won't be using this to merge singular tilesets, we will pretty much always have many