laptop and a wrench

Bug

Querying a feature layer from a referenced feature service with a geometry filter using ArcGIS API for Python returns an incomplete result.

Last Published: September 22, 2021 ArcGIS API for Python
Bug ID Number BUG-000129661
SubmittedMarch 25, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.7.0
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed1.9
StatusFixed

Additional Information

This issue is non-reproducible in ArcGIS API for Python 1.9.0

Workaround

Create a spatial data frame from the feature layer and query it, for example:

Sdf = lyr.query(where=f"OBJECTID IN {tuple(list_Ids)}",return_geometry=False,return_all_records=True,out_fields=output_fields).sdf

Steps to Reproduce

Bug ID: BUG-000129661

Software:

  • ArcGIS API for Python

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