|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.datamanagementtools.Clip
public class Clip
Creates a spatial subset of a raster dataset. The Clip tool is contained in the Data Management Tools tool box.
Software restrictions: none

| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
Clip()
Creates the Clip tool with defaults. |
|
Clip(Object inRaster,
Object rectangle,
Object outRaster)
Creates the Clip tool with the required parameters. |
|
| Method Summary | |
|---|---|
String |
getClippingGeometry()
Returns the Use Input Features for Clipping Geometry parameter of this tool . |
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
Object |
getInTemplateDataset()
Returns the Output Extent parameter of this tool . |
double |
getNodataValue()
Returns the NoData Value parameter of this tool . |
Object |
getOutRaster()
Returns the Output Raster Dataset parameter of this tool . |
Object |
getRectangle()
Returns the Rectangle 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 |
setClippingGeometry(String clippingGeometry)
Sets the Use Input Features for Clipping Geometry parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setInTemplateDataset(Object inTemplateDataset)
Sets the Output Extent parameter of this tool . |
void |
setNodataValue(double nodataValue)
Sets the NoData Value parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output Raster Dataset parameter of this tool . |
void |
setRectangle(Object rectangle)
Sets the Rectangle 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 Clip()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Clip(Object inRaster,
Object rectangle,
Object outRaster)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inRaster - Composite geodataset, the input raster dataset.rectangle - Envelope, if the clip extent specified is not aligned with the input raster dataset, the clip tool will make sure that the proper alignment is used. This may cause the output to have a slightly different extent than specified in the tool.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.| Method Detail |
|---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster - Composite geodataset, the input raster dataset.public Object getRectangle()
public void setRectangle(Object rectangle)
rectangle - Envelope, if the clip extent specified is not aligned with the input raster dataset, the clip tool will make sure that the proper alignment is used. This may cause the output to have a slightly different extent than specified in the tool.public Object getOutRaster()
public void setOutRaster(Object outRaster)
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.public Object getInTemplateDataset()
public void setInTemplateDataset(Object inTemplateDataset)
inTemplateDataset - Geodataset, if a feature class is used as the output extent and you want to clip the raster based on the polygon features, choose the ClippingGeometry option. If Clipping Geometry is used, then the pixel depth of the output may be promoted. Therefore you need to make sure that the output format can support the proper pixel depth.public double getNodataValue()
public void setNodataValue(double nodataValue)
nodataValue - Integer, all the pixels with the specified value will be set to NoData in the output raster dataset.public String getClippingGeometry()
public void setClippingGeometry(String clippingGeometry)
clippingGeometry - String, if Clipping Geometry is used, then the pixel depth of the output may be promoted. Therefore you need to make sure that the output format can support the proper pixel depth.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 | ||||||||