laptop and a wrench

Bug

Query fails when using a large geometry layer in ArcGIS Runtime Local Server.

Last Published: October 1, 2022 ArcGIS Runtime SDK
Bug ID Number BUG-000152185
SubmittedSeptember 8, 2022
Last ModifiedJuly 24, 2025
Applies toArcGIS Runtime SDK
Version found100.14
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This is a limitation of the underlying architecture of Local Server and cannot be addressed. Note: ArcGIS Maps SDK for Local Server is deprecated. The last release of Local Server will be ArcGIS Maps SDK for Local Server 200.8. For more information, see the deprecation announcement (https://support.esri.com/en-us/knowledge-base/deprecation-arcgis-maps-sdk-for-local-server-000034908).

Workaround

Use GeometryEngine.Generalize() to reduce the size of the request. See https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Geometry.GeometryEngine.Generalize.html. e.g., Geometry geometry = GeometryEngine.Generalize(f.Geometry,1,false); // Now, do the query var queryParameters = new QueryParameters() { Geometry = geometry, SpatialRelationship = SpatialRelationship.Intersects, MaxFeatures = 10000 }; In general, we recommend using the mobile geodatabase format (optionally as part of a Mobile Map Package).

Steps to Reproduce

Bug ID: BUG-000152185

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