laptop and a wrench

漏洞

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

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM006334
已提交January 25, 2007
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.1
修正版本9.2
状态Fixed

解决办法

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.

重现步骤

漏洞 ID: NIM006334

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项