Using the same tile cache for multiple map services

421
1
Jump to solution
09-20-2022 06:19 AM
no33mis
New Contributor II

Dear Community,

We have two different basemaps, which only differ in their extension (one covers a larger area than the other). So far, we have calculated the cache for their respective map services seperately. However, we will need the same background with the same cache scale for a third application, which again has different extents.

Is it possible to calculate the cache only once, and then modify or reduce it for the other map services? Hence, to calculate only the largest one, and then use parts of it for the other two? It is also important that for the new third (and smallest) basemap it should not be possible to trace the full extent of the cache due to security reasons. 

In general, we are trying to reduce the cache calculations since they take up a lot of time and storage space, and some areas are reduntant in this case.

We would be glad for any thoughts or ideas. I haven't found anything valuable so far. 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
TonyContreras_Frisco_TX
Occasional Contributor III

Are the scale levels needed for each basemap the same? If so, this should work if you use webmaps. You can set up the desired extent in each webmap and reference the map in your out-of-the-box app builder, then tell it to use the webmap's default extent. Depending on the version you are using, You can also  edit the viewing scales. The requirement for the third basemap will not be met with this method, as the user can still navigate the entire extent of the service. That will require somehow setting a Navigation boundary, which is available in some ArcGIS Online apps See this How To: for more information. If it is possible, I would recommend using multiple vector tile caches, each with the settings you need. Vector tile caches are comparably small in size and fast to generate, so storing and creating this will not require as much in the way of server/storage resources.

View solution in original post

1 Reply
TonyContreras_Frisco_TX
Occasional Contributor III

Are the scale levels needed for each basemap the same? If so, this should work if you use webmaps. You can set up the desired extent in each webmap and reference the map in your out-of-the-box app builder, then tell it to use the webmap's default extent. Depending on the version you are using, You can also  edit the viewing scales. The requirement for the third basemap will not be met with this method, as the user can still navigate the entire extent of the service. That will require somehow setting a Navigation boundary, which is available in some ArcGIS Online apps See this How To: for more information. If it is possible, I would recommend using multiple vector tile caches, each with the settings you need. Vector tile caches are comparably small in size and fast to generate, so storing and creating this will not require as much in the way of server/storage resources.