laptop and a wrench

Bug

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.

Last Published: October 1, 2022 ArcGIS Runtime SDK
Bug ID Number BUG-000152429
SubmittedSeptember 19, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.15
Operating SystemAndroid
Operating System Version12.x
StatusAs Designed

Additional Information

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.

Steps to Reproduce

Bug ID: BUG-000152429

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options