Publishing a tile package

2745
0
05-15-2016 05:47 AM
markrobey1
New Contributor II

I'm using Python to generate the following URL to publish a tile package that's already been uploaded to my AGOL account:

http://www.arcgis.com/sharing/rest/content/users/nnnnnnnn/publish

itemid=123&token=xyz &fileType=tilePackage&f=json

where 123 is the package's item id (retrieved from AGOL), and xyz is a valid token.

I get the following response (using urllib.urlopen):

Publishing tile service from item..

Publishing complete. Tile generation has been started and may take a while to finish.

However, while the Tile Layer appears in AGOL no tiles are ever generated (always '0% of the tiles are available' under the item's details).

Any ideas as to what's going on?

Tags (2)
0 Kudos
0 Replies