I have been trying to export a tile package from ESRI's Rest Service using the ExportTile tool at the bottom of the World Imagery for export page here: https://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/exportTiles. The export extent is supposed to be defined as "exportExtent = xmin, ymin, xmax, ymax" as defined here: https://developers.arcgis.com/rest/services-reference/enterprise/export-tiles-map-service/.
I am trying to export county sized files at high resolution (house level) and every time I try to define the export extent it creates a completely empty tile package. I am using Web Mercator coordinates as defined by the exportExtent. I am not sure what I am doing wrong and if anyone has gotten this process to work or has any input, I would greatly appreciate it.
Thanks!
Is it possible that your export request would exceed the 150,000 tile limit on the World Imagery (for export) service?
You can use the REST API to estimate the number of tiles your request would require:
If the number of tiles would exceed the limit, then a possible workaround is to use tessellation to break up your extent into chunks that would individually stay below the limit. Export those chunks one-a-time, with a sleep in between to play well with others and avoid overloading the service, put all of the exports into a single tile cache, and export the tile cache into a tile package. (You can also do the same thing with the World imagery for export layer using arcpy, i.e., GenerateTessellation, CopyRaster with a pause in between each, add the copied rasters to a mosaic, and create your tile package from the mosaic.)