|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.
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
- the input raster dataset.rectangle
- the four coordinates defining the minimum bounding rectangle to be clipped. Define in this order: X-Minimum, Y-Minimum, X-Maximum, Y-Maximum. if the clip extent specified is not aligned with the input raster dataset, the Clip tool makes sure that the proper alignment is used. This may cause the output to have a slightly different extent than specified in the tool.outRaster
- the output raster dataset. Make sure that this output format is able to support the proper pixel depth. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster dataset.public Object getRectangle()
public void setRectangle(Object rectangle)
rectangle
- the four coordinates defining the minimum bounding rectangle to be clipped. Define in this order: X-Minimum, Y-Minimum, X-Maximum, Y-Maximum. if the clip extent specified is not aligned with the input raster dataset, the Clip tool makes 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
- the output raster dataset. Make sure that this output format is able to support the proper pixel depth. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.public Object getInTemplateDataset()
public void setInTemplateDataset(Object inTemplateDataset)
inTemplateDataset
- an existing raster or vector layer, which can be used as the clip extent. The clip output includes any pixels that intersect the minimum bounding rectangle. 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
- 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
- if you are using a feature class as the output extent, you have the option to clip the raster by the extent of the feature class or by its polygon perimeter. 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 |