ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Generate Globe Server Cache

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

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.

Legacy:

This is a deprecated tool.

Usage

  • This tool is used to create a globe cache from an existing a Globe Server Object. To build a cache using the server object, specify the Globe server host. The tool will automatically list all server objects available on that server.

  • You are able to generate data cache for all the layers contained in the server object or for a single layer.

  • The data caching scheme is already pre defined. Hence, as a user, all you need to specify is the ‘from’ and ‘To’ Levels of detail. The From Level of Detail defines the lowest level of detail you would want your data cache to begin with. The To Level of detail defines the highest resolution you would want your data caching to have.

  • Each data cache generation thread on the client must have access to the data, otherwise that thread will not be able to be used in the generation of the cache.

Syntax

arcpy.server.GenerateGlobeServerCache(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 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.

Licensing information

  • Basic: Requires 3D Analyst
  • Standard: Requires 3D Analyst
  • Advanced: Requires 3D Analyst

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal