com.esri.arcgis.geoprocessing.tools.datamanagementtools
Class BatchProject

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.datamanagementtools.BatchProject
All Implemented Interfaces:
GPTool

public class BatchProject
extends AbstractGPTool

Changes the coordinate system of a set of input feature classes or feature datasets, including the datum or spheroid, and defines the location of points on a planar surface. If you want to change projections of several datasets then use this tool. For a single dataset use Project tool instead. The output datasets go to the location set in output workspace parameter. The Batch Project tool is contained in the Data Management Tools tool box.

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
BatchProject()
          Creates the Batch Project tool with defaults.
BatchProject(Object inputFeatureClassOrDataset, Object outputWorkspace)
          Creates the Batch Project tool with the required parameters.
 
Method Summary
 Object getDerivedOutput()
          Returns the Derived Output parameter of this tool (Read only).
 Object getInputFeatureClassOrDataset()
          Returns the Input Feature Class or Dataset parameter of this tool .
 Object getOutputCoordinateSystem()
          Returns the Output Coordinate System parameter of this tool .
 Object getOutputWorkspace()
          Returns the Output Workspace parameter of this tool .
 Object getTemplateDataset()
          Returns the Template dataset 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.
 String getTransformation()
          Returns the Transformation parameter of this tool .
 void setInputFeatureClassOrDataset(Object inputFeatureClassOrDataset)
          Sets the Input Feature Class or Dataset parameter of this tool .
 void setOutputCoordinateSystem(Object outputCoordinateSystem)
          Sets the Output Coordinate System parameter of this tool .
 void setOutputWorkspace(Object outputWorkspace)
          Sets the Output Workspace parameter of this tool .
 void setTemplateDataset(Object templateDataset)
          Sets the Template dataset parameter of this tool .
 void setTransformation(String transformation)
          Sets the Transformation 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

BatchProject

public BatchProject()
Creates the Batch Project tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


BatchProject

public BatchProject(Object inputFeatureClassOrDataset,
                    Object outputWorkspace)
Creates the Batch Project tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inputFeatureClassOrDataset - Geodataset, the input feature classes or feature datasets whose coordinates are to be converted.
outputWorkspace - Workspace | Feature Dataset, the output location of each new feature class or feature dataset whose coordinates have been converted.
Method Detail

getInputFeatureClassOrDataset

public Object getInputFeatureClassOrDataset()
Returns the Input Feature Class or Dataset parameter of this tool . This parameter is Geodataset, the input feature classes or feature datasets whose coordinates are to be converted. This is a required parameter.

Returns:
the Input Feature Class or Dataset

setInputFeatureClassOrDataset

public void setInputFeatureClassOrDataset(Object inputFeatureClassOrDataset)
Sets the Input Feature Class or Dataset parameter of this tool . This parameter is Geodataset, the input feature classes or feature datasets whose coordinates are to be converted. This is a required parameter.

Parameters:
inputFeatureClassOrDataset - Geodataset, the input feature classes or feature datasets whose coordinates are to be converted.

getOutputWorkspace

public Object getOutputWorkspace()
Returns the Output Workspace parameter of this tool . This parameter is Workspace | Feature Dataset, the output location of each new feature class or feature dataset whose coordinates have been converted. This is a required parameter.

Returns:
the Output Workspace

setOutputWorkspace

public void setOutputWorkspace(Object outputWorkspace)
Sets the Output Workspace parameter of this tool . This parameter is Workspace | Feature Dataset, the output location of each new feature class or feature dataset whose coordinates have been converted. This is a required parameter.

Parameters:
outputWorkspace - Workspace | Feature Dataset, the output location of each new feature class or feature dataset whose coordinates have been converted.

getOutputCoordinateSystem

public Object getOutputCoordinateSystem()
Returns the Output Coordinate System parameter of this tool . This parameter is Coordinate System, name of the coordinate system to be applied to each input dataset or feature class. This is an optional parameter.

Returns:
the Output Coordinate System

setOutputCoordinateSystem

public void setOutputCoordinateSystem(Object outputCoordinateSystem)
Sets the Output Coordinate System parameter of this tool . This parameter is Coordinate System, name of the coordinate system to be applied to each input dataset or feature class. This is an optional parameter.

Parameters:
outputCoordinateSystem - Coordinate System, name of the coordinate system to be applied to each input dataset or feature class.

getTemplateDataset

public Object getTemplateDataset()
Returns the Template dataset parameter of this tool . This parameter is Geodataset, a feature class or feature dataset whose coordinate system is used during project. This is an optional parameter.

Returns:
the Template dataset

setTemplateDataset

public void setTemplateDataset(Object templateDataset)
Sets the Template dataset parameter of this tool . This parameter is Geodataset, a feature class or feature dataset whose coordinate system is used during project. This is an optional parameter.

Parameters:
templateDataset - Geodataset, a feature class or feature dataset whose coordinate system is used during project.

getTransformation

public String getTransformation()
Returns the Transformation parameter of this tool . This parameter is String, a local datum aligns its spheroid to closely fit the earth's surface in a particular area. This is an optional parameter.

Returns:
the Transformation

setTransformation

public void setTransformation(String transformation)
Sets the Transformation parameter of this tool . This parameter is String, a local datum aligns its spheroid to closely fit the earth's surface in a particular area. This is an optional parameter.

Parameters:
transformation - String, a local datum aligns its spheroid to closely fit the earth's surface in a particular area.

getDerivedOutput

public Object getDerivedOutput()
Returns the Derived Output parameter of this tool (Read only). This is an derived parameter.

Returns:
the Derived Output

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias