AnsweredAssumed Answered

EstimateTileCache Throws Invalid State Exception?

Question asked by Dendroyka on Apr 16, 2019

.NET Runtime SDK 100.4


I'm using the EstimateTileCache api to determine if my area of interest is too big for the the max tile download. But, I give it an export params object that results in 161,871 tiles when the max is 150,000 and it throws an exception:


Illegal State: Server job has failed. ERROR 001564: Requested tile count (161,871) exceeds the maximum allowed number of tiles (150000) to be exported for service World_Imagery:MapServer.


If I wanted to handle an exception, I could've just gone right for the ExportTileCache job. Isn't the purpose of this api to tell me my request is too big before I send it?