Is there a way to publish an image service via python with a cache?
I've got arcpy.CreateImageSDDraft working okay for the non-cached services, but is there a way to specify levels and compression format etc? We also need to define a caching extent.
All this is possible in the ArcPro and ArcMap image service publication dialog but I can't seem to find how to do this pythonically.
Solved! Go to Solution.
I think managing cache can take place after publishing the service, which means that you first publish the service as non-cached then use GP tools to create the cache according to your needs.
This doco page here provides more details.
https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/manage-map-server-cache-tiles.htm
I think managing cache can take place after publishing the service, which means that you first publish the service as non-cached then use GP tools to create the cache according to your needs.
This doco page here provides more details.
https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/manage-map-server-cache-tiles.htm