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

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

public class Project
extends AbstractGPTool

Changes the coordinate system of your Input Dataset or Feature Class to a new Output Dataset or Feature Class with the newly defined coordinate system, including the datum and spheroid. The 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
Project()
          Creates the Project tool with defaults.
Project(Object inDataset, Object outDataset, Object outCoorSystem)
          Creates the Project tool with the required parameters.
 
Method Summary
 Object getInCoorSystem()
          Returns the Input Coordinate System parameter of this tool .
 Object getInDataset()
          Returns the Input Dataset or Feature Class parameter of this tool .
 Object getOutCoorSystem()
          Returns the Output Coordinate System parameter of this tool .
 Object getOutDataset()
          Returns the Output Dataset or Feature Class 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.
 Object getTransformMethod()
          Returns the Geographic Transformation parameter of this tool .
 void setInCoorSystem(Object inCoorSystem)
          Sets the Input Coordinate System parameter of this tool .
 void setInDataset(Object inDataset)
          Sets the Input Dataset or Feature Class parameter of this tool .
 void setOutCoorSystem(Object outCoorSystem)
          Sets the Output Coordinate System parameter of this tool .
 void setOutDataset(Object outDataset)
          Sets the Output Dataset or Feature Class parameter of this tool .
 void setTransformMethod(Object transformMethod)
          Sets the Geographic 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

Project

public Project()
Creates the Project tool with defaults.

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


Project

public Project(Object inDataset,
               Object outDataset,
               Object outCoorSystem)
Creates the 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:
inDataset - Feature Layer | Feature Dataset, the feature class whose coordinates are to be converted.
outDataset - Geodataset, the feature class whose coordinates have been converted into the new coordinate system.
outCoorSystem - Coordinate System, the coordinate system to be applied to the Output Dataset or Feature Class.
Method Detail

getInDataset

public Object getInDataset()
Returns the Input Dataset or Feature Class parameter of this tool . This parameter is Feature Layer | Feature Dataset, the feature class whose coordinates are to be converted. This is a required parameter.

Returns:
the Input Dataset or Feature Class

setInDataset

public void setInDataset(Object inDataset)
Sets the Input Dataset or Feature Class parameter of this tool . This parameter is Feature Layer | Feature Dataset, the feature class whose coordinates are to be converted. This is a required parameter.

Parameters:
inDataset - Feature Layer | Feature Dataset, the feature class whose coordinates are to be converted.

getOutDataset

public Object getOutDataset()
Returns the Output Dataset or Feature Class parameter of this tool . This parameter is Geodataset, the feature class whose coordinates have been converted into the new coordinate system. This is a required parameter.

Returns:
the Output Dataset or Feature Class

setOutDataset

public void setOutDataset(Object outDataset)
Sets the Output Dataset or Feature Class parameter of this tool . This parameter is Geodataset, the feature class whose coordinates have been converted into the new coordinate system. This is a required parameter.

Parameters:
outDataset - Geodataset, the feature class whose coordinates have been converted into the new coordinate system.

getOutCoorSystem

public Object getOutCoorSystem()
Returns the Output Coordinate System parameter of this tool . This parameter is Coordinate System, the coordinate system to be applied to the Output Dataset or Feature Class. This is a required parameter.

Returns:
the Output Coordinate System

setOutCoorSystem

public void setOutCoorSystem(Object outCoorSystem)
Sets the Output Coordinate System parameter of this tool . This parameter is Coordinate System, the coordinate system to be applied to the Output Dataset or Feature Class. This is a required parameter.

Parameters:
outCoorSystem - Coordinate System, the coordinate system to be applied to the Output Dataset or Feature Class.

getTransformMethod

public Object getTransformMethod()
Returns the Geographic Transformation parameter of this tool . This parameter is String, a method for converting data between two geographic coordinate systems or datums. Depending on the input and output coordinate systems this parameter may be required. For more information on geographic transformations, see This is an optional parameter.

Returns:
the Geographic Transformation

setTransformMethod

public void setTransformMethod(Object transformMethod)
Sets the Geographic Transformation parameter of this tool . This parameter is String, a method for converting data between two geographic coordinate systems or datums. Depending on the input and output coordinate systems this parameter may be required. For more information on geographic transformations, see This is an optional parameter.

Parameters:
transformMethod - String, a method for converting data between two geographic coordinate systems or datums. Depending on the input and output coordinate systems this parameter may be required. For more information on geographic transformations, see

getInCoorSystem

public Object getInCoorSystem()
Returns the Input Coordinate System parameter of this tool . This parameter is Coordinate System, the coordinate system of the Input Dataset or Feature Class. This is an optional parameter.

Returns:
the Input Coordinate System

setInCoorSystem

public void setInCoorSystem(Object inCoorSystem)
Sets the Input Coordinate System parameter of this tool . This parameter is Coordinate System, the coordinate system of the Input Dataset or Feature Class. This is an optional parameter.

Parameters:
inCoorSystem - Coordinate System, the coordinate system of the Input Dataset or Feature Class.

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