CGerberesriaustralia-com-au-esridist

Using Python to Calculate Cache Size Estimate

Discussion created by CGerberesriaustralia-com-au-esridist Employee on Jun 21, 2014
Hello

I am writing a python script, in which one component is to generate a .sddraft file using the geoprocessing function "arcpy.mapping.CreateMapSDDraft".

I will then update parameters for this sddraft file using minodom to parse a tiling scheme xml file and update the sddraft file with caching status and levels.

I would then like to use the "Calculate Cache Size" utility (part of the service editor window in ArcMap) and input the new sddraft file (which now has all caching info included) to estimate cache size for that sddraft. So keeping in mind that the sddraft file includes the source for the tiles (the MXD) plus all of the cache levels you want to build.

Is there some way to run the Calculate Cache Size utility using arcpy?

Cheers
Carma Gerber

Outcomes