tudelft3d / City3D

Large-scale LoD2 Building Reconstruction from Airborne LiDAR Point Clouds
https://github.com/tudelft3d/City3D
GNU General Public License v3.0
223 stars 36 forks source link

running #20

Closed xinzheng798 closed 1 year ago

xinzheng798 commented 1 year ago

terminate called after throwing an instance of 'CGAL::Assertion_exception' what(): CGAL ERROR: assertion violation! Expr: dexp != 2047 File: /usr/local/include/CGAL/Mpzf.h Line: 445 Explanation: Creating an Mpzf from infinity or NaN.

xinzheng798 commented 1 year ago

CLI_EXAMPLE2

LiangliangNan commented 1 year ago

Hi @xinzheng798, thanks for reporting this issue. But without useful information, we will not be able to investigate it. Can you provide the following informaiton?

Describe the bug A clear and concise description of what the bug is. If applicable, add screenshots (of the results or error messages) to help explain your problem.

Tell us how to reproduce the bug Steps to reproduce the behavior:

  1. Load the data file xxx.bvg. If applicable, post here a copy of the data for reproducing the issue.
  2. Click on '....'
  3. See error. A clear and concise description of what you expected to happen.

Development/Running environment:

Additional context Add any other context about the problem here.

xinzheng798 commented 1 year ago

Describe the bug eeeor individual building dataset:file: building_instances1.zip

Tell us how to reproduce the bug 1.build CLI_EXAMPLE_2(Debug),use CLion 2.modify the data path 3.running

Development/Running environment: Ubuntu 20.04 CLion Compiler :ninja

yidahuang commented 1 year ago

I assume that you're utilizing the method we've provided to generate the footprint from the single building point cloud. Just a friendly reminder to ensure that the ground height is set correctly and not relying on the default value of -5.97 we've provided, as it may result in the footprint being positioned above the roof points which is definitely incorrect.

CLI_Example_2 main.cpp line57 double ground_height = -5.97;// the ground height value should be set correctly

xinzheng798 commented 1 year ago

@yidahuang Thank you most sincerely.I know the problem