|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.servertools.ExportMapServerCache
public class ExportMapServerCache
Exports tiles from a map cache to a folder on disk. The tiles can either be imported into other caches or they can be accessed from ArcGIS Desktop as a raster dataset independent from their parent service. The Export Map Server Cache tool is contained in the Server Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
ExportMapServerCache()
Creates the Export Map Server Cache tool with defaults. |
|
ExportMapServerCache(String serverName,
String objectName,
String dataFrame,
Object targetCache,
int threadCount,
String storageFormatType)
Creates the Export Map Server Cache tool with the required parameters. |
Method Summary | |
---|---|
String |
getDataFrame()
Returns the Data Frame parameter of this tool . |
Object |
getExportExtent()
Returns the Export Extent parameter of this tool . |
Object |
getExportFeatureClass()
Returns the Export Extent Feature Class parameter of this tool . |
Object |
getLevels()
Returns the Scales parameter of this tool . |
String |
getObjectName()
Returns the Map Server parameter of this tool . |
String |
getOutObjectName()
Returns the Output Map Server parameter of this tool (Read only). |
String |
getOutServerName()
Returns the Output Host parameter of this tool (Read only). |
String |
getServerName()
Returns the Host parameter of this tool . |
String |
getStorageFormatType()
Returns the Storage Format Type parameter of this tool . |
Object |
getTargetCache()
Returns the Target Cache Path parameter of this tool . |
int |
getThreadCount()
Returns the Number of MapServer Instances parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
void |
setDataFrame(String dataFrame)
Sets the Data Frame parameter of this tool . |
void |
setExportExtent(Object exportExtent)
Sets the Export Extent parameter of this tool . |
void |
setExportFeatureClass(Object exportFeatureClass)
Sets the Export Extent Feature Class parameter of this tool . |
void |
setLevels(Object levels)
Sets the Scales parameter of this tool . |
void |
setObjectName(String objectName)
Sets the Map Server parameter of this tool . |
void |
setServerName(String serverName)
Sets the Host parameter of this tool . |
void |
setStorageFormatType(String storageFormatType)
Sets the Storage Format Type parameter of this tool . |
void |
setTargetCache(Object targetCache)
Sets the Target Cache Path parameter of this tool . |
void |
setThreadCount(int threadCount)
Sets the Number of MapServer Instances parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExportMapServerCache()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ExportMapServerCache(String serverName, String objectName, String dataFrame, Object targetCache, int threadCount, String storageFormatType)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
serverName
- the ArcGIS Server machine hosting the service whose cache tiles will be exported.objectName
- the map service whose tiles will be exported.dataFrame
- the source data frame for the map service.targetCache
- the folder into which the cache will be exported. This folder does have to be a registered server cache directory.threadCount
- number of map service instances to use while exporting the cache. By default the maximum allowable number of instances will be used (default for an ArcGIS Server service is 2) . If you have more server power, you can raise the maximum allowable number of instances in the Service Properties, then raise this parameter when you run the tool.storageFormatType
- the storage format of the exported cacheMethod Detail |
---|
public String getServerName()
public void setServerName(String serverName)
serverName
- the ArcGIS Server machine hosting the service whose cache tiles will be exported.public String getObjectName()
public void setObjectName(String objectName)
objectName
- the map service whose tiles will be exported.public String getDataFrame()
public void setDataFrame(String dataFrame)
dataFrame
- the source data frame for the map service.public Object getTargetCache()
public void setTargetCache(Object targetCache)
targetCache
- the folder into which the cache will be exported. This folder does have to be a registered server cache directory.public int getThreadCount()
public void setThreadCount(int threadCount)
threadCount
- number of map service instances to use while exporting the cache. By default the maximum allowable number of instances will be used (default for an ArcGIS Server service is 2) . If you have more server power, you can raise the maximum allowable number of instances in the Service Properties, then raise this parameter when you run the tool.public String getStorageFormatType()
public void setStorageFormatType(String storageFormatType)
storageFormatType
- the storage format of the exported cachepublic Object getExportExtent()
public void setExportExtent(Object exportExtent)
exportExtent
- a rectangular extent defining the tiles to be exported. By default the extent is set to the full extent of the service's source map. Note the optional parameter on this tool that allows you to alternatively constrain tile export to a feature class boundary.public Object getLevels()
public void setLevels(Object levels)
levels
- a list of scale levels at which tiles will be exported. Select scales on the basis of requirementpublic Object getExportFeatureClass()
public void setExportFeatureClass(Object exportFeatureClass)
exportFeatureClass
- a polygon feature class that defines where tiles are exported from the cache. This is useful if you want to export irregularly-shaped areas.public String getOutServerName()
public String getOutObjectName()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |