tudelft3d / 3dfier

The open-source tool for creating 3D models
http://tudelft3d.github.io/3dfier
GNU General Public License v3.0
529 stars 106 forks source link

CDT error #82

Closed OloOcki closed 4 years ago

OloOcki commented 5 years ago

I want to run the 3dfier for area of around 20km^2. I have assigned several shape files to all classes besides Separation. Everything works fine until the CDT step. During the 3dfier process a CDT error occurs: "CDT failed for 7113daf4-84a3-40e6-a9b2-913af6d74d04 with error: CDT is invalid" (In my case "7113daf4-84a3-40e6-a9b2-913af6d74d04" is an ID for Terrain feature).

I have found this geometry and fixed it in FME by triangulation. I have tried to run it again and this error was fixed but there was another one. Similar to the previous error but now with different ID, related to other feature. I have tried several times this manuall repair but it seems to take a long time to cope with it.

I have tried also another approach. I splitted up my area and shape files within it into 4 parts. I have found only 1 error in 2 tiles which again I fixed manually in FME. After this operation every single tile was processed succesfully without the CDT error.

Sample: All points read in 81273 seconds || 22:34:33 3dfying all input polygons... ===== /LIFTING ===== ===== LIFTING/ ===== ===== /ADJACENT FEATURES ===== ===== ADJACENT FEATURES/ ===== ===== /STITCHING ===== ===== STITCHING/ ===== ===== /BOWTIES ===== ===== BOWTIES/ ===== ===== /VERTICAL WALLS ===== ===== VERTICAL WALLS/ ===== Lifting, stitching and vertical walls done in 324 seconds || 00:05:24 ===== /CDT =====

CDT failed for 7113daf4-84a3-40e6-a9b2-913af6d74d04 (4) with error: CDT is invalid.