When you run a Query Task on the ArcGIS Server's REST Endpoint, you need to give a spatialRel
There are two spatial relationships which are quite similar: esriSpatialRelIntersects & esriSpatialRelOverlaps
SPATIAL_REL_INTERSECTS Part of a feature from feature class 1 is contained in a feature from feature class 2.
SPATIAL_REL_OVERLAPS Features from feature class 1 overlap features in feature class 2.
If one is querying a Polygon featureclass by using a Polygon as an Input, what is the difference between the two?