TUFLOW Message 2232: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 4:
|alt_msg=NA
|type=[[ERROR]]
|message_desc=TUFLOW was unable to triangulate the polygon (region) object. The most likely reason for this to occur is that the region perimeter crosses or snaps onto itself. An example of a self-intersecting region is shown below with (the blue circles highlight the problem areas), click on image for a larger view.<br>
[[File:Self Intersecting Polygon2d_sh_obj_check_03a.png|500px]]
|suggestions=Check region perimeter does not cross or snap onto itself. To help identify the problem, the followfollowing steps can be used:<br>
* Import the [[Check_Files_2d_sh_obj |sh_obj]] check file. This file is written sequentially and the last entry is the final object TUFLOW was able to process. The final triangle is shown in red below:<br>
<br>
[[File:Error 2232 012d_sh_obj_check_01a.jpg|600pxpng]]
<br><br>
* This highlightsshows that the issue is in the polygonhighlighted in thegreen 2d_zsh polygon layer highlighted in green: <br>
[[File:Error 2232 022d_sh_obj_check_02a.jpgpng]]
<br><br>
* If the coordinates of this polygon are examined, we find that it snaps back onto itself:<br>
Line 26:
307119.21 183875.86<br>
</tt>
* To remove this in QGIS, the layer needs to be made editable and "cleaned" with the v.cleanFix Geometries tool from Processing Toolbox.
* To remove this in MapInfo, the layer needs to be made editable and "cleaned" as per the images below.<br>
[[File:Error 2232 03.jpg]]
[[File:Error 2232 04.jpg]]
<br>
If the above doesn't helpfix the issue:
*Try adjusting the TIN angles. Use <font color="blue"><tt>TIN Angles </tt></font><font color="red"><tt>== </tt></font><font color="black"><tt>95,1</tt></font> command in the .tgc file before reading the TIN.
*Add more vertices in location of the last triangle from sh_obj_check file.
*From TUFLOW release 2025.0.0 onwards, the <font color="blue"><tt>TIN TRIANGULATION APPROACH </tt></font><font color="red"><tt>== </tt></font><font color="black"><tt>METHOD B</tt></font> command can be added to the .tcf file to change the tin triangulation method from the original METHOD A.
 
 
|prelink=[[TUFLOW_Message_2231|Message 2231]]
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
|nextlink=[[TUFLOW_Message_2233|Message 2233]]
}}