I want to query data that is not in a specified polygon in ArcGIS Server Rest API. How can I achieve this like below image?
You could use Relation function in ArcGIS Server REST API
In order to query data that is not in a specified geometry in ArcGIS Server REST API, you should choose
Relation in Spatial Relationship options and consider the following
Relation parameter by means of not contains in you're spatial query:
Like this image: