laptop and a wrench

漏洞

In ArcGIS Online Scene Viewer, adding a multi-ring polygon feature where a coordinate is shared between both rings will cause the polygon symbology fill to appear inverted in the 3D map, resulting in feature selection not functioning correctly compared to the 2D map.

ArcGIS Online
漏洞 ID 编号 BUG-000177805
已提交July 9, 2025
上次修改时间July 15, 2025
适用范围ArcGIS Online
找到的版本June 2025
操作系统Windows OS
操作系统版本11.0 64 bit
状态Known Limit

附加信息

This is not a bug per se, but rather a limitation of the algorithm used in the 3D environment, and as such, there is no immediate fix. The 3D algorithm may produce unexpected results when polygons are either self-intersecting or contain holes that do not follow the counter-clockwise winding rule. Refer to the suggested workaround to ensure consistent behavior between 2D and 3D displays. Aligning the behavior across 2D and 3D for such datasets is currently on our backlog but has not yet been scheduled for a future release.

解决办法

Polygon geometries are encoded as a series of rings. Filled rings must have vertices ordered clockwise, while holes must have vertices ordered counter-clockwise. Additionally, the sequence of the rings is important: the first ring is interpreted as a filled polygon, followed by any number of holes. After that, another filled ring may follow, along with its associated holes, and so on.

If the holes intended for the first filled ring are placed after a subsequent filled ring, they will not be applied as expected. To ensure correct rendering in Scene Viewer, the ring order must be strictly followed.

Adding the following JSON to addFeatures will produce the expected result:

[ { "geometry": { "rings": [ [ [2.0, 0.0], [1.618033988749895, 1.1755705045849463], [0.6180339887498949, 1.902113032590307], [-0.6180339887498947, 1.9021130325903073], [-1.6180339887498947, 1.1755705045849465], [-2.0, 2.4492935982947064e-16], [-1.618033988749895, -1.175570504584946], [-0.6180339887498951, -1.902113032590307], [0.6180339887498945, -1.9021130325903073], [1.6180339887498947, -1.1755705045849467], [2.0, 0.0] ], [ [0, -0.5], [-0.5, 0.5], [1.618033988749895, 1.1755705045849463], [0, -0.5] ] ], "spatialReference": { "wkid": 4326 } }, "attributes": {} } ]

重现步骤

漏洞 ID: BUG-000177805

软件:

  • ArcGIS Online

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项