Skip To Content

Share imagery as a tiled map service

You can cache and share your imagery as a tiled map service in an ArcGIS Online or ArcGIS Enterprise portal. If you have a small number of images, you can use ArcMap to create a tile package and upload to a portal. However, if you want to publish a tiled map service from a large amount of images, the recommended workflow is the following:

  1. Create a mosaic dataset from the images.
  2. Generate a tile cache from the mosaic dataset using the Tile Cache toolset in ArcGIS Desktop.
  3. Package the tile cache.
  4. Upload the tile package to a portal where you can publish it as a tiled map service.
This method is advantageous in several ways:
  • It avoids copying source images.
  • It offloads the job of generating cache tiles to ArcGIS Desktop.
  • It speeds up cache generation by taking advantage of the multiple cores on your desktop machine.

The tile cache created by the Tile Cache tools is a special raster dataset that contains images (tiles) at predefined sizes and levels. It is the same cache that is created for a map service or image service for fast access. The sources used to generate the tile cache can be any of the following:

  • A raster dataset (or a raster layer)
  • A mosaic dataset (or a mosaic layer)
  • A map document

You may prefer using the raster layer or mosaic layer to ensure the data has the appropriate rendering rules to generate the tile cache. This is particularly useful if you have data with multiple bands: The layer allows you to define the appropriate RGB band combination. It is also useful if you have data that is not 8-bit: The layer allows you to define an appropriate stretch to see the data correctly.

Publish a tiled map service from imagery

  1. Create a mosaic dataset from a collection of images.
  2. If you want to use a tiling scheme other than the portal's default tiling scheme, use the Generate Tile Cache Tiling Scheme tool to generate the tiling scheme file.
  3. Use the Manage Tile Cache tool to generate the tile cache.

    Make sure you define the scale levels properly and set a maximum source cell size to be a number between a level of the smallest cell size and the level above it.

  4. Convert the tile cache to a tile package by using the Export Tile Cache tool with the TILE_PACKAGE keyword selected.
  5. Run the Share Package tool to upload the tile package to a portal.
  6. Share the uploaded package as a tiled map service in the portal.
    1. Log in to the portal with your ArcGIS account.
    2. Click the tile package item that you just shared.
    3. Click the Publish button to share the tile package as a tiled map service.

      Once you have the service running, you can optionally delete the tile package from the portal.


In this topic