|
|||||||||
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.ExtractData
public class ExtractData
Extracts selected layers in the specified area of interest to a specific format and spatial reference. The extracted data is then written to a zip file. The Extract Data tool is contained in the Server Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
ExtractData()
Creates the Extract Data tool with defaults. |
|
ExtractData(Object layersToClip,
Object areaOfInterest,
String featureFormat,
String rasterFormat,
String spatialReference,
Object outputZipFile)
Creates the Extract Data tool with the required parameters. |
Method Summary | |
---|---|
Object |
getAreaOfInterest()
Returns the Area of Interest parameter of this tool . |
Object |
getCustomSpatialReferenceFolder()
Returns the Custom Spatial Reference Folder parameter of this tool . |
String |
getFeatureFormat()
Returns the Feature Format parameter of this tool . |
Object |
getLayersToClip()
Returns the Layers to Clip parameter of this tool . |
Object |
getOutputZipFile()
Returns the Output Zip File parameter of this tool . |
String |
getRasterFormat()
Returns the Raster Format parameter of this tool . |
String |
getSpatialReference()
Returns the Spatial Reference 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 |
setAreaOfInterest(Object areaOfInterest)
Sets the Area of Interest parameter of this tool . |
void |
setCustomSpatialReferenceFolder(Object customSpatialReferenceFolder)
Sets the Custom Spatial Reference Folder parameter of this tool . |
void |
setFeatureFormat(String featureFormat)
Sets the Feature Format parameter of this tool . |
void |
setLayersToClip(Object layersToClip)
Sets the Layers to Clip parameter of this tool . |
void |
setOutputZipFile(Object outputZipFile)
Sets the Output Zip File parameter of this tool . |
void |
setRasterFormat(String rasterFormat)
Sets the Raster Format parameter of this tool . |
void |
setSpatialReference(String spatialReference)
Sets the Spatial Reference 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 ExtractData()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ExtractData(Object layersToClip, Object areaOfInterest, String featureFormat, String rasterFormat, String spatialReference, Object outputZipFile)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
layersToClip
- the Layers to be clipped. Layers should be either feature or raster layers.areaOfInterest
- the area by which the layers will be clipped.featureFormat
- the format in which the output features will be delivered. the string provided in the Feature Format parameter should be formatted as follows: for example: internally, this tool uses the Export to CAD tool to convert data to the .dgn, .dwg, and .dxf CAD formats. The list of short names supported includes: DGN_V8, DWG_R14, DWG_R2000, DWG_R2004, DWG_R2005, DWG_R2006,
DWG_R2007, DWG_R2010, DXF_R14, DXF_R2000, DXF_R2004, DXF_R2005,
DXF_R2006, DXF_R2007, and DXF_R2010. for all non-ESRI, non-CAD formats, this tool also supports formats used by the Quick Export tool. since the Quick Export tool is a part of the Data Interoperability Extension, non-ESRI, non-CAD formats will only work if the Data Interoperability Extension is available.rasterFormat
- the format in which the output raster datasets will be delivered. the string provided in the Raster Format parameter should be formatted as follows: any of the following strings will work:spatialReference
- the spatial reference of the output data delivered by the tool. for standard ESRI spatial references, the name you provide here should be the name of the desired coordinate system. This name corresponds to the name of the spatial reference's projection file. Alternatively, you can use the Well Known ID (WKID) of the coordinate system. for example: for any custom projection, the name specified should be the name of the custom projection file (without extension). The location of the custom projection file(s) should be specified in the Custom Spatial Reference Folder parameter.outputZipFile
- the output Zip File that will contain the extracted data.Method Detail |
---|
public Object getLayersToClip()
public void setLayersToClip(Object layersToClip)
layersToClip
- the Layers to be clipped. Layers should be either feature or raster layers.public Object getAreaOfInterest()
public void setAreaOfInterest(Object areaOfInterest)
areaOfInterest
- the area by which the layers will be clipped.public String getFeatureFormat()
public void setFeatureFormat(String featureFormat)
featureFormat
- the format in which the output features will be delivered. the string provided in the Feature Format parameter should be formatted as follows: for example: internally, this tool uses the Export to CAD tool to convert data to the .dgn, .dwg, and .dxf CAD formats. The list of short names supported includes: DGN_V8, DWG_R14, DWG_R2000, DWG_R2004, DWG_R2005, DWG_R2006,
DWG_R2007, DWG_R2010, DXF_R14, DXF_R2000, DXF_R2004, DXF_R2005,
DXF_R2006, DXF_R2007, and DXF_R2010. for all non-ESRI, non-CAD formats, this tool also supports formats used by the Quick Export tool. since the Quick Export tool is a part of the Data Interoperability Extension, non-ESRI, non-CAD formats will only work if the Data Interoperability Extension is available.public String getRasterFormat()
public void setRasterFormat(String rasterFormat)
rasterFormat
- the format in which the output raster datasets will be delivered. the string provided in the Raster Format parameter should be formatted as follows: any of the following strings will work:public String getSpatialReference()
public void setSpatialReference(String spatialReference)
spatialReference
- the spatial reference of the output data delivered by the tool. for standard ESRI spatial references, the name you provide here should be the name of the desired coordinate system. This name corresponds to the name of the spatial reference's projection file. Alternatively, you can use the Well Known ID (WKID) of the coordinate system. for example: for any custom projection, the name specified should be the name of the custom projection file (without extension). The location of the custom projection file(s) should be specified in the Custom Spatial Reference Folder parameter.public Object getCustomSpatialReferenceFolder()
public void setCustomSpatialReferenceFolder(Object customSpatialReferenceFolder)
customSpatialReferenceFolder
- the location of any custom projection file or files referenced in the Spatial Reference parameter. This is only necessary if the custom projection file is not in the default install Coordinate System folder.public Object getOutputZipFile()
public void setOutputZipFile(Object outputZipFile)
outputZipFile
- the output Zip File that will contain the extracted data.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 |