There are some users that need to create a cache that stores discontinuous data or data with "holes".
When those users are trying to create such cache with Desktop only tools, they run into an Area of Interest (AOI) limitation.
As some of you already know, there are bugs that prevent efficient usage of the Area of Interest parameter in some Desktop Tile Cache tools.
For those of you that need this functionality, I've defined a conceptual workflow that enables the creation of discontinuous or fragmented Tile-Cache/TPK:
- Create each Cache fragment/Area of the finale Cache separately with the same Tiling scheme and parameters (besides extent of course). This step is performed with the Manage Tile Cache tool. You'll get the best results from using a proper mxd file as described in a former post I've wrote. At the end of this step, you'll have multiple Caches (for each fragment). Alternatively, you can also use the other optional tools to create these Cache fragments, such as Create Map Tile Cache Package tool or the Share as Tile Package workflow.
- Merge all created Caches into one Cache, using Import Tile Cache tool. For this step you need to decide which Cache will be used as the target Cache for all other fragments. You'll have to iterate this steps for all the fragments created in the former step.
- Consolidate the final Cache/TPK, using the Export Tile Cache tool. This tool allows Masking/Cliping the Cache, since it's AOI parameter is working well. Make sure that you use Area of Interest in the cache original coordinate system, since there's an issue with un,aching coordinate systems.
I have tested and verified that this workflow is working.
The workflow could be automated with Model Builder or Python script with some effort.
Hope that it would be helpful for you.