00:01Hello. In this video, we'll talk about creating map caches with ArcGIS for Server 10.1.

00:07Map caching is the process where we pre-render map service data... a collection of images or tiles that are stored on the server.

00:17These tiles are actually stored in a folder called a map cache.

00:21Map caches are used to support map services that contain basemap data.

00:27In other words, data that does not change frequently or remains static.

00:32At Server 10.1, we've improved the user experience for creating map caches.

00:37The user interfaces are easier and more intuitive, and you'll see that in this video.

00:43The first thing to be aware of is that we have a new Caching Tools geoprocessing service.

00:49This is automatically created when you set up and configure a Server 10.1 site.

00:54In addition, you define the tiling scheme before you publish a map service.

01:01In other words, the map cache tiling scheme is actually part of the map service definition.

01:06And finally, you can also view the progress of map cache creation.

01:13This is ArcGIS Server Manager, a web browser-based application that enables you... administer an ArcGIS for Server site.

01:22First, we'll log in to the application.

01:27And as you can see, it's a user-friendly interface that allows you to administer... ArcGIS for Server site. Under the Services section, under Manage Services...

01:38...we can show and list all the different services available.

01:42Currently, I have three different folders.

01:45If I go into the System folder, we can see three different geoprocessing services.

01:51And the one we're interested in is the Caching Tools Geoprocessing Service.

01:56As I mentioned earlier, this service automatically gets created...

02:01...when I set up and configure a Server 10.1 site.

02:04If I click on this link, I can view more information about this GP service.

02:10And what I would like to highlight is, under Pooling...

02:13...we can define the number of instances for this service.

02:17In other words, how much power I am going to dedicate on my machine... perform caching jobs.

02:23You can see here I have eight instances set. And as a general rule of thumb... want to assign the number of instances to this service equal to the number of...

02:34...cores on your machine because the Caching Tools geoprocessing service...

02:39...performs all the caching jobs for the entire server site.

02:44In earlier releases of ArcGIS Server, you would assign instances for map caching... a property of the map service that you were trying to cache.

02:54Let's go back to the system tools. And next, we'll go into ArcMap.

02:58We're looking at NapervilleBaseMap, which is a map document that contains a rich...

03:03...collection of data for the city of Naperville, Illinois.

03:06You can see in the Table of Contents that we have many different datasets... many different scales for railroads, streets, water bodies, and parcels.

03:18I can zoom in to different map scales, and as you can see, we have a rich collection...

03:23...of features, as well as labels, displayed at many different scales.

03:29And what I would like to do is publish this as a map service basemap with a map cache.

03:36As I mentioned earlier, we've changed the user experience at Server 10.1 for publishing...

03:41...and building map caches. In fact, it's now part of the ArcMap user interface.

03:47To publish a map service, I go to the File menu, I click Share As, and choose Service.

03:54This opens the Share as Service wizard.

03:57I want to publish a new map service, so I will click Next.

04:00Then, I have to specify the server site...

04:03...that I want to publish the map service to. In this case, my local server instance.

04:09And I will accept the default map service name of NapervilleBaseMap.

04:14I will publish the map service to a folder called Naperville, and when I click Continue...

04:20...this will display the Service Editor dialog.

04:25In this window, I can define many different properties of my map service.

04:30Next, I will analyze my map document.

04:33At 10.1, you must analyze your map documents before you publish them... a map service. This is now mandatory to ensure that you've optimized everything... your map document for the web. As you can see in my results, I have no errors... I will dismiss the results dialog and I will continue setting parameters...

04:55...for my map service. And what I would like to highlight is the Caching options.

04:59Now, to activate the Caching options, I click Using tiles from a cache.

05:05The first thing I can specify is the tiling scheme.

05:08And I can have it match the tiling scheme for ArcGIS Online.

05:11I can use an existing tiling scheme or define a custom tiling scheme.

05:16Under Levels of Detail, you can see that ArcMap has already auto-detected...

05:22...the ideal scales for this map cache based on the data in the map document.

05:26Now, I can change the map scale if I wanted to, and you'll notice we've made it...

05:30...very user-friendly by not only giving you a scale value, but also some corresponding...

05:35...sample graphics to help you visualize the map scale.

05:39I can calculate the cache size. And, at the bottom, I have the option to build...

05:45...the cache automatically when I publish my map service, or I could build the cache... a later date. In earlier releases of ArcGIS Server, you would have to... your map cache after the map service was already published.

05:59Under Advanced Settings, I can see all my different scales...

06:03...along with their estimated disk space, and various parameters...

06:07...such as the minimum and maximum cache size, location of the cache directory...

06:11...and the area of interest to cache.

06:13What I would like to highlight is the Tile Format, and we have several different options.

06:17If you have vector data, you should use PNG8, as long as you have less than 256 colors.

06:24If you have more than that, you should use PNG24.

06:27If you have labels, you should use PNG32 with your vector data.

06:32And finally, JPEG and MIXED are good for raster data.

06:35Now since my Naperville basemap has more than 256 colors, as well as labels...

06:41...I'm going to choose PNG32.

06:44Now, I will publish the map service, so I will click Publish.

06:48So it's analyzing my map document and generating that map service.

06:53And once the map service is created, it will start to build its map cache.

07:01As you can see, it's creating the service definition file...

07:04...that goes along with that map service.

07:13Now that the map service has been created, we can view the progress...

07:17...of the map cache creation, so I'll click OK. I will then open my Catalog side panel...

07:24...and display my connection to my ArcGIS Server instance.

07:29Under the Naperville folder, I can right-click that map service and choose...

07:34...View Cache Status. And it will display a message dialog that indicates the status.

07:43I can also view the map cache creation status inside ArcGIS Server Manager.

07:52And if I go into the Naperville folder, I will see the NapervilleBaseMap Map Service.

08:00And now, I can click these four squares to view its map cache creation status.

08:10I can click Show Details, and you can see how the different layers of my cache...

08:16...are being built. Now, in the interest of time for this video, I will cut ahead to when...

08:21...the map cache is completed.

08:26After the map cache is created, I can view its properties by clicking the...

08:31...NapervilleBaseMap link, and view the Map Service properties.

08:35Under the Caching section, I can see all the different parameters that I set...

08:39...inside ArcMap when I published the map service.

08:43If I click the Capabilities section, I could open up the REST endpoint URL...

08:48...of the map service. And again, I can view all the different cache layers.

08:52I will view the map service in the ArcGIS JavaScript API viewer, and you can see...

08:58...that the basemap is very responsive. I can zoom in, or I can zoom out...

09:04...and all my features and labels render very, very fast.

09:08For more information, I can look in the ArcGIS for Server 10.1 help.

09:13Under the Publishing services folder, under Caching services, there is lots of great...

09:18...information on map caching. Thank you very much for listening.

Copyright 2016 Esri
Auto Scroll (on)Enable or disable the automatic scrolling of the transcript text when the video is playing. You can save this option if you login

ArcGIS for Server 10.1: Map Caching Tutorial

Map caching is an effective way to make your map and image services run faster. In this video, Product Manager Derek Law discusses and demos the new workflows and features of map caching in ArcGIS for Server 10.1.

“Demos shown are running on ArcGIS for Server 10.1 PreRelease.”

  • Recorded: Feb 23rd, 2012
  • Runtime: 09:24
  • Views: 14514
  • Published: Mar 2nd, 2012
  • Night Mode (Off)Automatically dim the web site while the video is playing. A few seconds after you start watching the video and stop moving your mouse, your screen will dim. You can auto save this option if you login.
  • HTML5 Video (Off) Play videos using HTML5 Video instead of flash. A modern web browser is required to view videos using HTML5.
Download VideoDownload this video to your computer.
<Embed>Customize the colors and use the HTML code to include this video on your own website
Start From:
Player Color:

Right-click on these links to download and save this video.


Be the first to post a comment
To post a comment, you'll need to login.
If you don't have an Esri Global Login ID, please register here.