Select to view content in your preferred language

Download File Size Estimation is Wrong

414
1
08-14-2023 02:14 PM
NikkKarataev
New Contributor

Hi! I am currently working on downloading maps for offline use and am utilizing the tile-cache-size-job to estimate the size (EstimateTileCacheSizeResult)

However, even though I've applied the UseReducedFontsService, the final vtpk file size is still larger than expected. The estimated size is 3180866 bytes, but the actual vtpk file is 24MB.

Is there a more accurate way to calculate the size, or am I possibly using the wrong method?

Thank you

1 Reply
Nicholas-Furness
Esri Regular Contributor

The EstimateTileCacheSizeJob only works on image tile services. Vector Tile Services do not support an estimate operation.

Are you sure you are calling EstimateTileCacheSizeJob on the vector tile service to get your number of 3180866? That should fail.

0 Kudos