Using arcpy.CreateMapSDDraft with an existing cached Map service

2059
0
12-22-2015 07:39 AM
GiovanniTardini
New Contributor

I'm trying to create a .sddraft with arcpy.CreateMapSDDraft starting from an already existing cached Map Service (with a custom defined Tile Scheme) published on ArcGIS Server 10.3.1, in order to republish it.

Looking into the .sddraft generated I notice that it doesn't pick up the right setting for the cache. MinScale, MaxScale and the cache schema are set to the standard Bing values, and not to my existing service's settings.

On the contrary if I generate the .sddraft with ArcGIS Desktop, the values in the .sddraft file generated are correct.

Is there a way to have arcpy.CreateMapSDDraft read the correct cache values from the existing service?

0 Kudos
0 Replies