laptop and a wrench

Bogue

ITopologicalOperator.Intersect returns System.Runtime.InteropServices.COMException, HRESULT.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM006334
EnvoiJanuary 25, 2007
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.1
Version de correction9.2
StatutFixed

Solution de contournement

User is trying to assign spatialrefence to the input geometries before he intersects them. If don't assign any spatialreference information then intersect will run successfully. At ArcGIS 9.1, calling the following two lines is causing ITopologicalOperator::Intersect to fail: origGeometry.SpatialReference = mSpRef; -> found in GeometryRepair function. origGeometry.SnapToSpatialReference();If you comment out those two lines then the Intersect method will run successfully and will create a valid output.

Étapes pour reproduire

ID de bogue: NIM006334

Logiciel:

  • No Product Found

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