laptop and a wrench

漏洞

The IProximityOperator::ReturnDistance method returns an Automation Error when finding the distance between a Point feature and features in a PolyLine feature class.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM004240
已提交September 18, 2006
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.1
编程语言All
修正版本9.2
状态Fixed

解决办法

Re-projecting the point to the polyline’s Coordinate System using IGeometry::Project we do not receive the error and the ReturnDistance method returns the distance between the point and polyline features. The following lines of code was used to perform the Projection: Dim geom As IGeometry Dim geom1 As IGeometry Set geom = pFeat.Shape Set geom1 = pLnFeat.Shape geom.Project geom1.SpatialReference Set pProximity = geom

重现步骤

漏洞 ID: NIM004240

软件:

  • No Product Found

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项