Summary
Generates an XML tiling scheme file that defines the scale levels, tile dimensions, and other properties for a map service cache. This tool is useful when creating a tiling scheme to use in multiple caches. You can load the tiling scheme file when you create a cache in ArcGIS for Desktop or ArcGIS Server Manager, or you can run Create Map Server Cache and pass in the tiling scheme file as a parameter.
A tiling scheme describes how clients should reference the tiles in a cache and is a mapping between the spatial reference of the source map document and the tiling grid. The tiling grid uses a level of detail (scales), row, and column reference scheme. The scheme also defines the scale levels (levels of detail) at which the cache has tiles, the size of the tiles in pixels, and the screen resolution for which the tiles are intended to be most commonly displayed. A tiling scheme is needed to generate a map cache.
Usage
If you've already defined a cache in ArcGIS for Desktop or ArcGIS Server Manager, then you do not have to run this tool. You will already have a tiling scheme (conf.xml) in the cache folder, which you can reference when you create other caches.
By default, the tiling origin starts at the upper left of the coordinate system used by the service's source map document.
Once the cache has been created, the scale levels are the only part of the tiling scheme that can be changed. Use Manage Map Server Cache Scales to add or remove scale levels.
Syntax
GenerateMapServerCacheTilingScheme_server (map_document, data_frame, tile_origin, output_tiling_scheme, num_of_scales, scales, dots_per_inch, tile_size)
Parameter | Explanation | Data Type |
map_document | The source map document to be used for the tiling scheme. | File |
data_frame | The data frame to be used for the tiling scheme. | String |
tile_origin | The upper left corner of the tiling scheme, in coordinates of the spatial reference of the source data frame. | Point |
output_tiling_scheme | Path and file name of the tiling scheme file to create. | File |
num_of_scales | Number of scale levels in the tiling scheme. | Long |
scales [scales,...] | Scale levels to include in the tiling scheme. These are not represented as fractions. Instead, use 500 to represent a scale of 1:500, and so on. | Value Table |
dots_per_inch | The dots per inch of the intended output device. If a DPI is chosen that does not match the resolution of the output device, the scale of the map tile will appear incorrect. The default value is 96. | Long |
tile_size | The width and height of the cache tiles in pixels. The default is 256 by 256. For the best balance between performance and manageability, avoid deviating from standard dimensions of 256 by 256 or 512 by 512.
| String |
Environments
This tool does not use any geoprocessing environments
Licensing Information
- ArcGIS for Desktop Basic: Yes
- ArcGIS for Desktop Standard: Yes
- ArcGIS for Desktop Advanced: Yes