laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM006334
SubmittedJanuary 25, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.1
Version Fixed9.2
StatusFixed

Workaround

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.

Steps to Reproduce

Bug ID: NIM006334

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options