laptop and a wrench

Bogue

IRelationalOperator.Contains returns incorrect result for specific polygons when spatial index is defined (using ISpatialIndex.AllowIndexing = true).

Dernière publication: August 25, 2014 ArcGIS for Desktop
Numéro d’ID de bogue NIM049937
EnvoiOctober 19, 2009
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée9.3.1
Langue du programmeC#
Système d’exploitationWindows OS
Version du système d’exploitationXP
StatutNon-Reproducible

Informations supplémentaires

No Public Explanation

Solution de contournement

Use ITopologicalOperator4::Simplify method to simplify the geometries.To test the workaround uncomment following lines from the ContainsTestCmd.cs file.ITopologicalOperator4 pTopologicalOp = (ITopologicalOperator4)largePolyFeature.Shape;pTopologicalOp.IsKnownSimple_2 = false;pTopologicalOp.Simplify();ITopologicalOperator4 pTopoOp2 = (ITopologicalOperator4)smallPolyFeature.Shape;pTopoOp2.IsKnownSimple_2 = false;pTopoOp2.Simplify();

Étapes pour reproduire

ID de bogue: NIM049937

Logiciel:

  • ArcGIS for Desktop

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