I have an application that is requesting a computeStatisticsHistograms from our image service based on a user's feature selection. The features vary in size. I have noticed that I get this error returned for geometries over a certain size. On layers that have higher resolution, that threshold is lower (only tolerates smaller geometries). Clearly from the error, there is a size limit, but I can't find what it relates to.
Using ArcGIS Server 10.4 but I also tried on an ArcGIS Online layer at 10.71.
error retured:
"code": 400,
"message": "Invalid or missing input parameters.",
"details": [
"The requested image exceeds the size limit."
]
Has anyone come across this? What can we do to tweak the services to prevent this error from happening?
Alternatively, if I knew what the limit was in relation to some math - ie.. no more than N pixels - I could trap it.