I am trying to publish vector tiles for a sizable feature class (100,000+ line records) through ArcGIS Pro. I have tried to publish on two different computers and always receive a "Staging failed" error.
Here is my workflow: The data is loaded into a Pro project, then I go to "Share" and "Web Layer". Under General, I select "Copy all data" and "Vector tile". Under Configuration, I set it to "ArcGIS Online/ Bing Maps/ Google Maps" with levels of detail 14-19. I use Indexed tiling format with an index polygon created from the "Create Vector Tile Index" tool.
I am using ArcGIS Pro 2.0.0
Any ideas what might be wrong? Or is there a way to get more details on the failure than "Staging failed" (no details show up in Geoprocessing History)?
Solved! Go to Solution.
I was finally able to publish the vector tiles. Turned out it was a memory problem. Even though I had optimal memory/RAM (16 GB), it wasn't enough. Had to publish from our server, which has 32 GB.
Also, once I got the contours published, trying to actually view them in Chrome crashed the browser (IE and Firefox worked a bit better.) We were able to fix that problem by running Generalize to eliminate some of the extra vertices.
apparently, you should examine your resources first
http://pro.arcgis.com/en/pro-app/help/sharing/overview/analyze-your-gis-resource.htm
Yes, thank you, I should have included that in the workflow above. I do analyze before publishing, and it says "No errors or warnings found."
I can't really speak from experience with this, as I only tried to publish a vector tile package once and did not encounter this error, but the word "Staging" generally means that some temporary intermediate files are being written somewhere before the data is truly published.
This may be in your user profile folder, or Windows temp folder. As a consequence, if this is true, I guess you may be running out of disk space in that location, especially if you are in some very restricted corporate environment with just limited resources given to each user.
Anyway, this is all just speculation, it may be another issue, although the Analyze tool should probably cover those.
The temporary cache location is my C drive which has nearly 400 GB. The estimated cache size for raster tiling was much higher, but I understand that vector tiles take up a lot less space. Is there any way to estimate vector tile size? The data I'm trying to publish is two-foot countywide contours, so it's pretty big.
you would have gotten this error
why don't you reduce the levels of detail until you can get it to work... then proceed from there
I wasn't able to get the full layer to publish at any level. I was able to successfully publish a much smaller section. An intermediate sized layer staged but did not publish. The publishing tools are working and should not be timing out (the process fails in less than 2 minutes.) I monitored CPU and memory on our ArcGIS web server machine and Portal machine and neither seemed high. It seems that I can keep cutting down the size of the area until it publishes, but I would like to avoid that, if possible, so users don't have to load 20 layers instead of 1. Are there any other things I can check or change to get this to publish as is?
I doubt it given what you have said. I would put in a call to tech support to see if they have another other suggestions than simplifying, attributes, geometry or extent
I was finally able to publish the vector tiles. Turned out it was a memory problem. Even though I had optimal memory/RAM (16 GB), it wasn't enough. Had to publish from our server, which has 32 GB.
Also, once I got the contours published, trying to actually view them in Chrome crashed the browser (IE and Firefox worked a bit better.) We were able to fix that problem by running Generalize to eliminate some of the extra vertices.
I have 64GB of memory on my desktop and still get OOM errors/crashes when trying to create VectorTile Packages. Furthermore, tile packages that do create OK, are patchy when displayed/hosted through a webmap (i.e. some tiles won't show).
There doesn't appear to be anyway to run the equivalent of 'Manage Map Server Cache Tiles' to check and repair faulty tiles nor does there appear to be the ability to just generate cache tiles over a sub-set area?