The results of ITopologicalOperator.IsSimple and ITopologicalOperator3.Simplify are unexpected for certain known non-simple geometries.
Last Published: September 30, 2016ArcObjects SDK
Bug ID Number
BUG-000097239
Submitted
June 16, 2016
Last Modified
June 5, 2024
Applies to
ArcObjects SDK
Version found
10.3.1
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
7- For issue (a), right at the beginning of the code before anything is done to the geometries, notice that ITopologicalOperator.IsSimple returns true for each geometry. This is incorrect as each of these features are known to be non-simple, due to either a self intersecting point, or a duplicate line segment. Why does ITopologicalOperator.IsSimple always return true for all the geometries? Could this be a bug?
Answer: This is not a bug for geometries from Geodatabase are assumed to be simple by default, unless it is explicitly set to IsKnownSimple = false before checking.
10- The results do not make sense because the only feature with a self intersecting geometry is the feature with Object ID = 6. Thus, the "reason" value "before the Simplify" was performed for the other features (Object ID = 1, 2,3, 4, 5, 7, 8) does not make sense. These features do not have self intersecting geometries. Why would the "reason" value be esriNonSimpleSelfIntersections.
Answer: These features are considered self-intersecting because some segments have lengths less than or equal to tolerance.
11 - The "reason" value "after the Simplify" was performed, for features with Object ID = 3, 4, 5 does not make sense, either, because it remains the same after the Simplify has been performed.
Answer: Cannot repro. After Simplify the reason changed to esriNonSimpleOk.
12- The "reason" value for "before the Simplify" was performed, for the feature with Object ID = 6, does not make sense. This should have been esriNonSimpleSelfIntersections, because this feature actually has a self intersecting point (inspect this in ArcMap by staring an edit session and inspecting the vertices of the polygon. Visually, it can be seen that there exists a self intersecting vertex in one of inner arcs). Why is the "reason" value esriNonSimpleOK?
Answer: The vertex is where inner ring meets exterior ring and not considered self-intersecting by ESRI rule.