Difference between revisions of "TUFLOW Message 2226"

From Tuflow
Jump to navigation Jump to search
 
(5 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
|alt_msg=NA
 
|alt_msg=NA
 
|type=[[ERROR]]
 
|type=[[ERROR]]
|message_desc=Multiple region objects, that is distinct polygons that are combined into a single object, are not allowed.
+
|message_desc=Multiple region objects, that is distinct polygons that are combined into a single geometry part, are not allowed. This error commonly occurs when there are holes in the polygon (negative spaces within a region). Note: this  error is not referring to multi-part features, but rather multiple rings within a single part (i.e. a hole in the polygon).
|suggestions=Seperate multipe region objects, this can be done in MapInfo, by selecting the object (it needs to be editable), and using selecting Objects >> Disaggregate.
+
|suggestions=Separate multiple region objects, this can be done in MapInfo, by selecting the object (it needs to be editable), and using selecting Objects >> Disaggregate. To remove negative spaces from regions select the object >> edit objects >> clean >> Gap  Removal and set a minimum size greater than the negative space within the region.<br>
|discussion_page=* [[Talk:TUFLOW Message 2226|Discuss Message 2226]]
+
<br>
|link3=''
+
A similar process can be done in QGIS to remove holes in polygons by using the 'Delete Holes' processing tool.
|link4=''
+
 
|prelink=[[TUFLOW_Message_2225|Message 2225]]
 
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
|nextlink=[[TUFLOW_Message_2227|Message 2227]]
 
 
}}
 
}}

Latest revision as of 20:45, 31 July 2023

TUFLOW Message
ERROR 2226 - Multiple region objects not supported for Read MI Shape commands.

Alternate Message
NA

Message Type
ERROR

Description
Multiple region objects, that is distinct polygons that are combined into a single geometry part, are not allowed. This error commonly occurs when there are holes in the polygon (negative spaces within a region). Note: this error is not referring to multi-part features, but rather multiple rings within a single part (i.e. a hole in the polygon).

Suggestions
Separate multiple region objects, this can be done in MapInfo, by selecting the object (it needs to be editable), and using selecting Objects >> Disaggregate. To remove negative spaces from regions select the object >> edit objects >> clean >> Gap Removal and set a minimum size greater than the negative space within the region.

A similar process can be done in QGIS to remove holes in polygons by using the 'Delete Holes' processing tool.


Up
Go-up.png 2xxx Messages