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

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

public class ProjectRaster
extends AbstractGPTool

Transforms the raster dataset from one projection to another. The Project Raster tool is contained in the Data Management Tools tool box.
Learn more about how Project Raster works

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
ProjectRaster()
          Creates the Project Raster tool with defaults.
ProjectRaster(Object inRaster, Object outRaster, Object outCoorSystem)
          Creates the Project Raster tool with the required parameters.
 
Method Summary
 Object getCellSize()
          Returns the Output Cell Size parameter of this tool .
 Object getGeographicTransform()
          Returns the Geographic Transformation parameter of this tool .
 Object getInCoorSystem()
          Returns the Input Coordinate System parameter of this tool .
 Object getInRaster()
          Returns the Input Raster parameter of this tool .
 Object getOutCoorSystem()
          Returns the Output Coordinate System parameter of this tool .
 Object getOutRaster()
          Returns the Output Raster Dataset parameter of this tool .
 Object getRegistrationPoint()
          Returns the Registration Point parameter of this tool .
 String getResamplingType()
          Returns the Resampling Techinque 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 setCellSize(Object cellSize)
          Sets the Output Cell Size parameter of this tool .
 void setGeographicTransform(Object geographicTransform)
          Sets the Geographic Transformation parameter of this tool .
 void setInCoorSystem(Object inCoorSystem)
          Sets the Input Coordinate System parameter of this tool .
 void setInRaster(Object inRaster)
          Sets the Input Raster parameter of this tool .
 void setOutCoorSystem(Object outCoorSystem)
          Sets the Output Coordinate System parameter of this tool .
 void setOutRaster(Object outRaster)
          Sets the Output Raster Dataset parameter of this tool .
 void setRegistrationPoint(Object registrationPoint)
          Sets the Registration Point parameter of this tool .
 void setResamplingType(String resamplingType)
          Sets the Resampling Techinque 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

ProjectRaster

public ProjectRaster()
Creates the Project Raster tool with defaults.

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


ProjectRaster

public ProjectRaster(Object inRaster,
                     Object outRaster,
                     Object outCoorSystem)
Creates the Project Raster 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:
inRaster - Composite Geodataset, the input raster dataset.
outRaster - Raster Dataset, when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality.
outCoorSystem - Spatial Reference, to add this variable, press F8 or right-click and click Insert Variable.
Method Detail

getInRaster

public Object getInRaster()
Returns the Input Raster parameter of this tool . This parameter is Composite Geodataset, the input raster dataset. This is a required parameter.

Returns:
the Input Raster

setInRaster

public void setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . This parameter is Composite Geodataset, the input raster dataset. This is a required parameter.

Parameters:
inRaster - Composite Geodataset, the input raster dataset.

getOutRaster

public Object getOutRaster()
Returns the Output Raster Dataset parameter of this tool . This parameter is Raster Dataset, when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality. This is a required parameter.

Returns:
the Output Raster Dataset

setOutRaster

public void setOutRaster(Object outRaster)
Sets the Output Raster Dataset parameter of this tool . This parameter is Raster Dataset, when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality. This is a required parameter.

Parameters:
outRaster - Raster Dataset, when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality.

getOutCoorSystem

public Object getOutCoorSystem()
Returns the Output Coordinate System parameter of this tool . This parameter is Spatial Reference, to add this variable, press F8 or right-click and click Insert Variable. 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 Spatial Reference, to add this variable, press F8 or right-click and click Insert Variable. This is a required parameter.

Parameters:
outCoorSystem - Spatial Reference, to add this variable, press F8 or right-click and click Insert Variable.

getResamplingType

public String getResamplingType()
Returns the Resampling Techinque parameter of this tool . This parameter is String, the NEAREST and MAJORITY options are used for categorical data, such as a landuse classification. The NEAREST option is the default since it is the quickest and also because it will not change the cell values. Do not use NEAREST or MAJORITY for continuous data, such as elevation surfaces. The BILINEAR option and the CUBIC option are most appropriate for continuous data. It is not recommended that BILINEAR or CUBIC be used with categorical data because the cell values may be altered. This is an optional parameter.

Returns:
the Resampling Techinque

setResamplingType

public void setResamplingType(String resamplingType)
Sets the Resampling Techinque parameter of this tool . This parameter is String, the NEAREST and MAJORITY options are used for categorical data, such as a landuse classification. The NEAREST option is the default since it is the quickest and also because it will not change the cell values. Do not use NEAREST or MAJORITY for continuous data, such as elevation surfaces. The BILINEAR option and the CUBIC option are most appropriate for continuous data. It is not recommended that BILINEAR or CUBIC be used with categorical data because the cell values may be altered. This is an optional parameter.

Parameters:
resamplingType - String, the NEAREST and MAJORITY options are used for categorical data, such as a landuse classification. The NEAREST option is the default since it is the quickest and also because it will not change the cell values. Do not use NEAREST or MAJORITY for continuous data, such as elevation surfaces. The BILINEAR option and the CUBIC option are most appropriate for continuous data. It is not recommended that BILINEAR or CUBIC be used with categorical data because the cell values may be altered.

getCellSize

public Object getCellSize()
Returns the Output Cell Size parameter of this tool . This parameter is Analysis Cell Size, the cell size for the output raster dataset. The default cell size is the cell size of the selected raster dataset. This is an optional parameter.

Returns:
the Output Cell Size

setCellSize

public void setCellSize(Object cellSize)
Sets the Output Cell Size parameter of this tool . This parameter is Analysis Cell Size, the cell size for the output raster dataset. The default cell size is the cell size of the selected raster dataset. This is an optional parameter.

Parameters:
cellSize - Analysis Cell Size, the cell size for the output raster dataset. The default cell size is the cell size of the selected raster dataset.

getGeographicTransform

public Object getGeographicTransform()
Returns the Geographic Transformation parameter of this tool . This parameter is String, for information on each supported geographic (datum) transformations, see the geographic_transformations.pdf located in \ArcGIS\Documentation. This is an optional parameter.

Returns:
the Geographic Transformation

setGeographicTransform

public void setGeographicTransform(Object geographicTransform)
Sets the Geographic Transformation parameter of this tool . This parameter is String, for information on each supported geographic (datum) transformations, see the geographic_transformations.pdf located in \ArcGIS\Documentation. This is an optional parameter.

Parameters:
geographicTransform - String, for information on each supported geographic (datum) transformations, see the geographic_transformations.pdf located in \ArcGIS\Documentation.

getRegistrationPoint

public Object getRegistrationPoint()
Returns the Registration Point parameter of this tool . This parameter is Point, the x and y coordinates (in the output space) used for pixel alignment. This is an optional parameter.

Returns:
the Registration Point

setRegistrationPoint

public void setRegistrationPoint(Object registrationPoint)
Sets the Registration Point parameter of this tool . This parameter is Point, the x and y coordinates (in the output space) used for pixel alignment. This is an optional parameter.

Parameters:
registrationPoint - Point, the x and y coordinates (in the output space) used for pixel alignment.

getInCoorSystem

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

Parameters:
inCoorSystem - Coordinate System, the coordinate system of the input raster 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