Can anyone out there help me?
I'm generating a feature set for display and analysis in ArcGIS 10.2.2 from a large ESRI feature class and have written python code to achieve this based on the standard source URL and query of the kind:
RestURL = "<my URL>"+ service['name'] +"/FeatureServer/0/query"
where = '1=1'
fields = '*'
query = "?where={}&outFields={}&returnGeometry=true&f=json&token={}".format(where, fields, token)
fsURL = RestURL + query
While this is working, the process is slow and I am only interested in a small set of these features. Is there any way an area of interest can be integrated into the query to access only a subset of these features?
Any advice at this stage would be really helpful.