TUFLOW Message 2232: Difference between revisions
Content deleted Content added
No edit summary |
Anne.Kolega (talk | contribs) changed red to yellow for final triangle |
||
| (17 intermediate revisions by 9 users not shown) | |||
Line 1:
{{TUFLOW_Message
|tuflow_message=ERROR 2232 - Failed to complete triangulation. Check region perimeter does not cross or snap onto itself.
|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.
[[File:2d_sh_obj_check_03a.png]]
|suggestions=Check region perimeter does not cross or snap onto itself. To help identify the problem, the following 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 highlighted in yellow below:<br>
<br>
[[File:2d_sh_obj_check_01a.png]]
<br><br>
* This shows that the issue is in the highlighted green 2d_zsh polygon layer: <br>
[[File:2d_sh_obj_check_02a.png]]
<br><br>
* If the coordinates of this polygon are examined, we find that it snaps back onto itself:<br>
<tt>
307119.21 183875.86<br>
<u>'''307117.92 183878.53'''</u><br>
307123.06 183881.09<br>
307126.86 183872.48<br>
307126.07 183872.04<br>
307119.55 183872.54<br>
307119.21 183875.86<br>
<u>'''307117.92 183878.53'''</u><br>
307119.21 183875.86<br>
</tt>
* To remove this in QGIS, the layer needs to be made editable and "cleaned" with the Fix 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 fix 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.
▲|suggestions=Check region perimeter does not cross or snap onto itself.
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
}}
| |||