Using the Landsat8_Views (ImageServer)//query? with spatialRel=esriSpatialRelContains does not return any feature whereas using it with spatialRel=esriSpatialRelInitersects does.
Example :
with Intersects :
with Contains and the same Polygon small enough to contain many footprints :
No feature is returned.
Am I doing something wrong ?
Thanks for helping.
Marc
You could try "Within". This will yield 136 results:
Here an old document with a detailed explanation on how spatial relationships are evaluated:
Thank you Xander for pointing out this.
I did try the Within relationship but I came out to another issue which seems to be the main one.
Trying to count the features is OK :
Retrieving all the features is OK : http://landsat.arcgis.com/arcgis/rest/services/Landsat8_Views/ImageServer/query?f=json&where=Categor...
But when using resultOffset=0 and resultRecordCount=20 for example, nothing is returned.
Documentation says that the resultOffset and resultRecordCount parameters are available for 10.3.1 only but they actually do work when using the Intersects relationship.