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

Creates a new dataset or feature class with the coordinate system specified. The Project tool is contained in the Data Management Tools tool box.

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 - the feature class, feature layer, or feature dataset to be projected.
outDataset - the new feature dataset or feature class that has the coordinate system specified in the output coordinate system parameter.
outCoorSystem - valid values are a file with a .prj extension (.prj files shipped with ArcGIS are available at the ArcGIS installation directory > Coordinate System folder) or a string representation of a coordinate system. This string representation can be generated by adding a coordinate system variable to ModelBuilder, setting the variable's value as desired, then exporting the model to a Python script. The string can then be copied from the Python script.
Method Detail

getInDataset

public Object getInDataset()
Returns the Input Dataset or Feature Class parameter of this tool . This parameter is the feature class, feature layer, or feature dataset to be projected. 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 the feature class, feature layer, or feature dataset to be projected. This is a required parameter.

Parameters:
inDataset - the feature class, feature layer, or feature dataset to be projected.

getOutDataset

public Object getOutDataset()
Returns the Output Dataset or Feature Class parameter of this tool . This parameter is the new feature dataset or feature class that has the coordinate system specified in the output coordinate system parameter. 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 the new feature dataset or feature class that has the coordinate system specified in the output coordinate system parameter. This is a required parameter.

Parameters:
outDataset - the new feature dataset or feature class that has the coordinate system specified in the output coordinate system parameter.

getOutCoorSystem

public Object getOutCoorSystem()
Returns the Output Coordinate System parameter of this tool . This parameter is valid values are a file with a .prj extension (.prj files shipped with ArcGIS are available at the ArcGIS installation directory > Coordinate System folder) or a string representation of a coordinate system. This string representation can be generated by adding a coordinate system variable to ModelBuilder, setting the variable's value as desired, then exporting the model to a Python script. The string can then be copied from the Python script. 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 valid values are a file with a .prj extension (.prj files shipped with ArcGIS are available at the ArcGIS installation directory > Coordinate System folder) or a string representation of a coordinate system. This string representation can be generated by adding a coordinate system variable to ModelBuilder, setting the variable's value as desired, then exporting the model to a Python script. The string can then be copied from the Python script. This is a required parameter.

Parameters:
outCoorSystem - valid values are a file with a .prj extension (.prj files shipped with ArcGIS are available at the ArcGIS installation directory > Coordinate System folder) or a string representation of a coordinate system. This string representation can be generated by adding a coordinate system variable to ModelBuilder, setting the variable's value as desired, then exporting the model to a Python script. The string can then be copied from the Python script.

getTransformMethod

public Object getTransformMethod()
Returns the Geographic Transformation parameter of this tool . This parameter is this method can be used for converting data between two geographic coordinate systems or datums. This initially optional parameter may be required if the input and output coordinate systems have different data. 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 this method can be used for converting data between two geographic coordinate systems or datums. This initially optional parameter may be required if the input and output coordinate systems have different data. This is an optional parameter.

Parameters:
transformMethod - this method can be used for converting data between two geographic coordinate systems or datums. This initially optional parameter may be required if the input and output coordinate systems have different data.

getInCoorSystem

public Object getInCoorSystem()
Returns the Input Coordinate System parameter of this tool . This parameter is the coordinate system of the input feature class or dataset. 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 the coordinate system of the input feature class or dataset. This is an optional parameter.

Parameters:
inCoorSystem - the coordinate system of the input feature class or dataset.

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