laptop and a wrench

Bogue

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

Dernière publication: September 30, 2016 ArcObjects SDK
Numéro d’ID de bogue BUG-000097239
EnvoiJune 16, 2016
Dernière modificationJune 5, 2024
S’applique àArcObjects SDK
Version trouvée10.3.1
StatutWill Not Be Addressed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000097239

Logiciel:

  • ArcObjects SDK

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement