laptop and a wrench

漏洞

The results of ITopologicalOperator.IsSimple and ITopologicalOperator3.Simplify are unexpected for certain known non-simple geometries.

上次发布: September 30, 2016 ArcObjects SDK
漏洞 ID 编号 BUG-000097239
已提交June 16, 2016
上次修改时间June 5, 2024
适用范围ArcObjects SDK
找到的版本10.3.1
状态Will Not Be Addressed

附加信息

7- For issue (a), right at the beginning of the code before anything is done to the geometries, notice that ITopologicalOperator.IsSimple returns true for each geometry. This is incorrect as each of these features are known to be non-simple, due to either a self intersecting point, or a duplicate line segment. Why does ITopologicalOperator.IsSimple always return true for all the geometries? Could this be a bug? Answer: This is not a bug for geometries from Geodatabase are assumed to be simple by default, unless it is explicitly set to IsKnownSimple = false before checking. 10- The results do not make sense because the only feature with a self intersecting geometry is the feature with Object ID = 6. Thus, the "reason" value "before the Simplify" was performed for the other features (Object ID = 1, 2,3, 4, 5, 7, 8) does not make sense. These features do not have self intersecting geometries. Why would the "reason" value be esriNonSimpleSelfIntersections. Answer: These features are considered self-intersecting because some segments have lengths less than or equal to tolerance. 11 - The "reason" value "after the Simplify" was performed, for features with Object ID = 3, 4, 5 does not make sense, either, because it remains the same after the Simplify has been performed. Answer: Cannot repro. After Simplify the reason changed to esriNonSimpleOk. 12- The "reason" value for "before the Simplify" was performed, for the feature with Object ID = 6, does not make sense. This should have been esriNonSimpleSelfIntersections, because this feature actually has a self intersecting point (inspect this in ArcMap by staring an edit session and inspecting the vertices of the polygon. Visually, it can be seen that there exists a self intersecting vertex in one of inner arcs). Why is the "reason" value esriNonSimpleOK? Answer: The vertex is where inner ring meets exterior ring and not considered self-intersecting by ESRI rule.

重现步骤

漏洞 ID: BUG-000097239

软件:

  • ArcObjects SDK

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项