Using a statistical query on a point feature service or mobile geodatabase does not accurately return the correct feature count using non-rectangular geometry or polygon extents.
上次发布: October 1, 2022ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000152429
已提交
September 19, 2022
上次修改时间
June 5, 2024
适用范围
ArcGIS Runtime SDK
找到的版本
100.15
操作系统
Android
操作系统版本
12.x
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
When creating the statistics query as the issue, the query uses statQueryParams.setGeometry(triangleGraphic.getGeometry().getExtent());, whereas when creating the normal feature query, the query uses populationQuery.setGeometry(triangleGraphic.getGeometry());
The former is getting the bounding box of the triangle and sending that, which matches the described behavior above, whereas the latter is directly using the triangle geometry and sending that.
Simply removing .getExtent() from the stats query geometry fixes the issue.