Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Server toolbox > Caching toolset > Tools

Generate Globe Server Cache (Server)

Release 9.2
Last modified November 22, 2006
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

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.


Usage tips

Command line syntax
An overview of the Command Line window
GenerateGlobeServerCache_Server <server_name> <object_name> <out_folder> <Globe - 1:10000000 | Continent - 1:5000000 | Countries - 1:2500000 | Country - 1:1250000 | States - 1:625000 | State - 1:312500 | Counties - 1:156250 | County - 1:78125 | Metropolitan Area - 1:39062 | Cities - 1:19531 | City - 1:9765 | Town - 1:4882 | Neighborhood - 1:2441 | City Blocks - 1:1220 | City Block - 1:610 | Buildings - 1:305 | Building - 1:152 | Houses - 1:76 | House Property - 1:38 | House - 1:19 | Rooms - 1:9 | Room - 1:4> <Room - 1:4 | Rooms - 1:9 | House - 1:19 | House Property - 1:38 | Houses - 1:76 | Building - 1:152 | Buildings - 1:305 | City Block - 1:610 | City Blocks - 1:1220 | Neighborhood - 1:2441 | Town - 1:4882 | City - 1:9765 | Cities - 1:19531 | Metropolitan Area - 1:39062 | County - 1:78125 | Counties - 1:156250 | State - 1:312500 | States - 1:625000 | Country - 1:1250000 | Countries - 1:2500000 | Continent - 1:5000000 | Globe - 1:10000000> {thread_count} <Layer;Layer...>

Parameter Explanation Data 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.

<Globe - 1:10000000 | Continent - 1:5000000 | Countries - 1:2500000 | Country - 1:1250000 | States - 1:625000 | State - 1:312500 | Counties - 1:156250 | County - 1:78125 | Metropolitan Area - 1:39062 | Cities - 1:19531 | City - 1:9765 | Town - 1:4882 | Neighborhood - 1:2441 | City Blocks - 1:1220 | City Block - 1:610 | Buildings - 1:305 | Building - 1:152 | Houses - 1:76 | House Property - 1:38 | House - 1:19 | Rooms - 1:9 | Room - 1:4>

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
<Room - 1:4 | Rooms - 1:9 | House - 1:19 | House Property - 1:38 | Houses - 1:76 | Building - 1:152 | Buildings - 1:305 | City Block - 1:610 | City Blocks - 1:1220 | Neighborhood - 1:2441 | Town - 1:4882 | City - 1:9765 | Cities - 1:19531 | Metropolitan Area - 1:39062 | County - 1:78125 | Counties - 1:156250 | State - 1:312500 | States - 1:625000 | Country - 1:1250000 | Countries - 1:2500000 | Continent - 1:5000000 | Globe - 1:10000000>

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}

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...>

Select the layers to include in the layer cache.

String
Data types for geoprocessing tool parameters


Command line example

GenerateGlobeServerCache_management myglobeserver Boundaries "Globe - 1:10000000" "Countries - 1:2500000" 4 'ESRI Countries (Small Scale)';'ESRI Countries (Medium Scale)';LargeProvinces;'ESRI AWS Boundaries';'AND Countries'

Scripting syntax
About getting started with writing geoprocessing scripts
GenerateGlobeServerCache_Server (server_name, object_name, out_folder, lod_from, lod_to, thread_count, Layer)

Parameter Explanation Data Type
server_name (Required)

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

String
object_name (Required)

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

String
out_folder (Required)

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.

lod_from (Required)

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 (Required)

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 (Required)

Select the layers to include in the layer cache.

String

Data types for geoprocessing tool parameters


Script example

# 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'")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.