Skip To Content

Publish a basemap as a tiled map service

In the previous lesson, you created a detailed map of a community garden. In this lesson, you'll publish that map as a type of image called a tiled map service. This is one of the two main ways to publish geographic data to ArcGIS Online. The second is to publish feature services, which you'll do in the final lesson of the project.

Publish the tiled map service

  1. If necessary, open your TCG_Garden map.
  2. At the top of the page, click File and click Sign In.
  3. Sign in to your ArcGIS organizational account.
  4. In the File menu, click Share As and click Service.

    Share as service

  5. In the Share as Service window, confirm that the button is checked for Publish a Service and click Next.
  6. Name the service GardenBasemap_yourname (or something unique) and confirm that the service is being published to your organization's hosted services.

    The name of your service must be unique in the organization. If you use a name that someone else in your organization has already used, you'll get an error message.

    Service name

  7. In the left pane of the Service Editor window, click the Capabilities tab. Check the Tiled Mapping box and uncheck the Feature Access box.
    Capabilities tab

    The Capabilities tab has two options: Tiled Mapping and Feature Access. Tile layers are collections of spatially-adjacent images, or tiles, and are usually used as basemaps, which is what you want. Feature layers are composed of discrete elements that can be edited and symbolized.

  8. Click the Caching tab.

    Caching tab

    The default tiling scheme is set to ArcGIS Online/Bing Maps/Google Maps. There are 17 default zoom levels, ranging from a global scale to a city block scale. These are the standard caching levels for the largest online mapping systems. But that's not close enough of a zoom level for your garden purposes, since you want your map to zoom all the way down to the individual plot level. The four new levels you'll create are 1:500, 1:250, 1:125, and 1:62.

  9. Click the Advanced Settings tab.
  10. For Area of interest to cache, choose Current extent of the map.

    You'll add four scales to the existing list.

  11. Above the list of scales, type 500 and click Add.

    Advanced Settings tab

  12. Repeat the previous step for the following scales: 250, 125, and 62.
  13. Scroll to the bottom of the scales list to see the new entries.

    New scale disk space

    Notice the extremely high Disk Space estimates. TB means terabytes! These numbers are so high, you would not even be allowed to proceed if they were accurate, because it would consume too many credits and take too long. You need to have the system recalculate now that additional scales have been added.

  14. Return to the Caching tab and click the Calculate Cache Size button to open the Calculate Cache Size window.

    Calculate Cache Size window

  15. Click Start.

    The calculation takes a few moments. When it's finished, you can see that the total cache is estimated to only consume approximately 7 to 12 megabytes, with the largest scale (1:62) estimated at approximately 6 MB, so you're out of the danger zone.

    New estimates

  16. Close the Calculate Cache Size window and click the Item Description tab.

    You need some metadata to go with your service, so people can search and browse for it.

  17. Fill in the Summary, Tags, and Description fields as follows:

    Summary: Tequesquite Community Garden

    Tags: Riverside, Tequesquite Community Garden

    Description: This is large-scale basemap of the Tequesquite Community Garden at Brian Bonaminio Park in Riverside, California.

    Item description

  18. On the Service Editor toolbar, click the Analyze button to check for problems.

    Analyze button

    The Analyze button examines your map document to see if it can be published to the server. In the Prepare box, a list of warnings and messages appears, but no errors. None of the warnings or messages will prevent you from publishing the service. More detailed explanations of what these warnings mean can be found in the ArcGIS help.

  19. On the Service Editor toolbar, click the Publish button.
  20. When the service has been published, click OK to close the Service Publishing Result dialog box.
  21. In the Catalog window, expand the My Hosted Services section to see your new service.

    My Hosted Services

  22. Right-click GardenBasemap_yourname, choose View Cache Status, and wait until 100 percent of the tiles are processed.

    If the Status is Processing, click Refresh Status to see the latest status. Processing may take several minutes to complete.

    Cache status

  23. Save your map.

    Next, you'll go to your organization and have a look at the new published service.

Set the map service as a basemap

  1. If necessary, sign in to your ArcGIS organizational account.
  2. At the top of your organization home page, click Map.

    Map button

    A new map opens to a topographic view of North America.

  3. Click Add and choose Search for Layers.

    Search for layers

    The results list includes the file you published.

  4. Click the name of the service GardenBasemap_yourname. The Item Details pane opens, and click Use as Basemap.

    Use as Basemap

  5. Close the Item Details pane and click the back arrow to get back to Contents.

    The map is drawn on the screen. If you tried to zoom in to the additional zoom levels that you created for this layer, you wouldn’t see them. This occurs because the map still displays the zoom levels of the original basemap, for example, the World Topographic basemap. First you must save the basemap as a web map, close Map Viewer, and reopen the map.

  6. Click Save then Save As.
  7. For the Title and summary, type the following text:

    Title:Tequesquite Community Garden

    Summary: Map of the Tequesquite Community Garden in Riverside, California.

  8. Click Save Map.
  9. In the upper right corner, click New Map and choose Create New Map.

    New map

  10. Click New Map again, and under Recent Maps, click TCGBasemap.

    Open recent map

    When the map opens, the additional zoom levels are active. But what happens when you click a garden plot? Nothing. That's because your data is only a pretty picture right now. You have yet to publish an active operational layer of garden plots.

    Zoom available

Your basemap is complete. In the next lesson, you'll use ArcMap to publish a separate layer of garden plots—an operational layer—that will bring this pretty picture to life.