laptop and a wrench

Bug

The results of ITopologicalOperator.IsSimple and ITopologicalOperator3.Simplify are unexpected for certain known non-simple geometries.

Zuletzt veröffentlicht: September 30, 2016 ArcObjects SDK
Bug-ID-Nummer BUG-000097239
EingereichtJune 16, 2016
Zuletzt geändertJune 5, 2024
Gilt fürArcObjects SDK
Gefunden in Version10.3.1
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000097239

Software:

  • ArcObjects SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln