TUFLOW Message 2232: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
Line 5:
|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 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 in red below:<br>
<br>
[[File:Error 2232 012d_sh_obj_check_01a.jpg|600pxpng]]
<br><br>
* This shows that the issue is in the highlighted green 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]]