Difference between revisions of "TUFLOW Message 2226"

From Tuflow
Jump to navigation Jump to search
 
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. This error can also occur where negative spaces are left within a region, also not supported.
+
|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=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.
+
|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>
 +
<br>
 +
A similar process can be done in QGIS to remove holes in polygons by using the 'Delete Holes' processing tool.
  
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
}}
 
}}

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