|
|||||||||
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.GenerateMapServerCacheTilingScheme
public class GenerateMapServerCacheTilingScheme
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 ArcCatalog or Manager, or you can run Create Map Server Cache and pass in the tiling scheme file as a parameter. The Generate Map Server Cache Tiling Scheme tool is contained in the Server Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
GenerateMapServerCacheTilingScheme()
Creates the Generate Map Server Cache Tiling Scheme tool with defaults. |
|
GenerateMapServerCacheTilingScheme(Object mapDocument,
String dataFrame,
Object tileOrigin,
Object tilingSchema,
int cacheLevels,
Object levels,
int dpi,
int tileWidth,
int tileHeight)
Creates the Generate Map Server Cache Tiling Scheme tool with the required parameters. |
Method Summary | |
---|---|
int |
getCacheLevels()
Returns the Number of Scales parameter of this tool . |
String |
getDataFrame()
Returns the Data Frame parameter of this tool . |
int |
getDpi()
Returns the Dots(Pixels) Per Inch parameter of this tool . |
Object |
getLevels()
Returns the Scales parameter of this tool . |
Object |
getMapDocument()
Returns the Map Document parameter of this tool . |
int |
getTileHeight()
Returns the Tile Height (in pixels) parameter of this tool . |
Object |
getTileOrigin()
Returns the Tiling origin in map units parameter of this tool . |
int |
getTileWidth()
Returns the Tile Width (in pixels) parameter of this tool . |
Object |
getTilingSchema()
Returns the Output Tiling Scheme 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 |
setCacheLevels(int cacheLevels)
Sets the Number of Scales parameter of this tool . |
void |
setDataFrame(String dataFrame)
Sets the Data Frame parameter of this tool . |
void |
setDpi(int dpi)
Sets the Dots(Pixels) Per Inch parameter of this tool . |
void |
setLevels(Object levels)
Sets the Scales parameter of this tool . |
void |
setMapDocument(Object mapDocument)
Sets the Map Document parameter of this tool . |
void |
setTileHeight(int tileHeight)
Sets the Tile Height (in pixels) parameter of this tool . |
void |
setTileOrigin(Object tileOrigin)
Sets the Tiling origin in map units parameter of this tool . |
void |
setTileWidth(int tileWidth)
Sets the Tile Width (in pixels) parameter of this tool . |
void |
setTilingSchema(Object tilingSchema)
Sets the Output Tiling Scheme 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 GenerateMapServerCacheTilingScheme()
Initializes the array of tool parameters with the default values specified when the tool was created.
public GenerateMapServerCacheTilingScheme(Object mapDocument, String dataFrame, Object tileOrigin, Object tilingSchema, int cacheLevels, Object levels, int dpi, int tileWidth, int tileHeight)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
mapDocument
- the source map document to be used for the tiling scheme.dataFrame
- the data frame to be used for the tiling scheme.tileOrigin
- the upper left corner of the tiling scheme in coordinates of the spatial reference of the source data frame.tilingSchema
- path and file name of the tiling scheme file to create.cacheLevels
- number of scale levels in the tiling scheme.levels
- 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.dpi
- 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.tileWidth
- the width of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512.tileHeight
- the height of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512.Method Detail |
---|
public Object getMapDocument()
public void setMapDocument(Object mapDocument)
mapDocument
- the source map document to be used for the tiling scheme.public String getDataFrame()
public void setDataFrame(String dataFrame)
dataFrame
- the data frame to be used for the tiling scheme.public Object getTileOrigin()
public void setTileOrigin(Object tileOrigin)
tileOrigin
- the upper left corner of the tiling scheme in coordinates of the spatial reference of the source data frame.public Object getTilingSchema()
public void setTilingSchema(Object tilingSchema)
tilingSchema
- path and file name of the tiling scheme file to create.public int getCacheLevels()
public void setCacheLevels(int cacheLevels)
cacheLevels
- number of scale levels in the tiling scheme.public Object getLevels()
public void setLevels(Object levels)
levels
- 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.public int getDpi()
public void setDpi(int dpi)
dpi
- 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.public int getTileWidth()
public void setTileWidth(int tileWidth)
tileWidth
- the width of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512.public int getTileHeight()
public void setTileHeight(int tileHeight)
tileHeight
- the height of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512.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 |