AnsweredAssumed Answered

feature layer query via point buffer

Question asked by FireWhat on Jun 13, 2017
Latest reply on Jun 19, 2017 by bixb0012

Hello,

I am trying to use the feature layer query api to search for all features within a 10 mile radius of a specific point.

 

pt = Geometry({"x" : -96.95335386999966, "y" : 32.87209363900047, "spatialReference" : {"wkid" : 102100}})

print (pt.is_valid)
print (pt.type) # POINT
print (pt) #True

query_results_len = policies.query(geometry_filter=pt, distance=10, units="esriSRUnit_Foot")

I have tried various versions of that but I am always getting back 1000 records.

 

According to the docs this should work.

Outcomes