Using Python to Calculate Cache Size Estimate

392
0
06-21-2014 08:57 PM
CarmaGerber
New Contributor
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
Tags (2)
0 Kudos
0 Replies