Generate Globe Server Cache (Server)

Summary

Generates Globe data Caches based on ArcGlobe’s Data tiling scheme. Use this tool to generate a globe data cache using the specified globe server object.

LegacyLegacy:

This is a deprecated tool. Use Manage Globe Server Cache Tiles instead.

Usage

Syntax

GenerateGlobeServerCache_Server (server_name, object_name, out_folder, lod_from, lod_to, {thread_count}, Layer)
ParameterExplanationData Type
server_name

The host name of the ArcGIS Server Object Manager (SOM) that will be used to generate the cache.

String
object_name

The name of the Globe Server configuration that will be used to generate the cache.

String
out_folder

The parent directory for this Globe Service where the data cache will reside for. The server cache directory must be registered with the server before running this tool. This directory must be read/write accessible to the ArcGIS Server Object Container account user on each SOC machine in the ArcGIS Server.

String
lod_from

Select the level-of-detail scale you would like to begin caching the layer. If the smallest and largest level-of-detail scales are used for the minimum and maximum, a full cache will be built for the layer.

String
lod_to

Select the level-of-detail scale you would like to begin caching the layer. If the smallest and largest level-of-detail scales are used for the minimum and maximum, a full cache will be built for the layer.

String
thread_count
(Optional)

The specified number of threads to attempt to create on the client. Each thread, in turn, will try to create a server context on the globe server object to generate the cache.

Long
Layer
Layer;Layer...

Select the layers to include in the layer cache.

String

Code Sample

# Importing standard library modules
import os, arcgisscripting
 
# Create the geoprocessing object
gp = arcgisscripting.create()
 
gp.GenerateGlobeServerCache("myglobeserver","Boundaries","Globe - 
       1:10000000","Countries - 1:2500000", 4,"'ESRI Countries (Small 
       Scale)';'ESRI Countries (Medium Scale)';LargeProvinces;'ESRI AWS 
       Boundaries';'AND Countries'")

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: Requires 3D Analyst
ArcEditor: Requires 3D Analyst
ArcInfo: Requires 3D Analyst

5/9/2011