Overwrite a tile service in python

07-21-2016 04:01 PM
New Contributor III

I'm using an ESRI script from github (update-hosted-feature-service/update.py at master · arcpy/update-hosted-feature-service · GitHub )  to keep several feature services updated periodically (every 5 mins for some to every hour for others) and this is working very well.  I'd like to do the same for a few tile services.  Is there a similar way that can take an mxd and overwrite the existing service (so maps that go against the existing map service still work after it is updated).  It would mean re-creating the tile cache each time it is updated.  Can I do this in such a way that AGOL creates the tiles?  Should I create the tiles locally then upload them?  Need some direction.



0 Kudos
0 Replies