|
|||||||||
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.spatialanalysttools.Slice
public class Slice
Slices or reclassifies the range of values of the input cells into zones of equal interval, equal area, or by natural breaks. The Slice tool is contained in the Spatial Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
Slice()
Creates the Slice tool with defaults. |
|
Slice(Object inRaster,
Object outRaster,
int numberZones)
Creates the Slice tool with the required parameters. |
Method Summary | |
---|---|
int |
getBaseOutputZone()
Returns the Base zone for output parameter of this tool . |
Object |
getInRaster()
Returns the Input raster parameter of this tool . |
int |
getNumberZones()
Returns the Number of output zones parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster parameter of this tool . |
String |
getSliceType()
Returns the Slice method 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 |
setBaseOutputZone(int baseOutputZone)
Sets the Base zone for output parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input raster parameter of this tool . |
void |
setNumberZones(int numberZones)
Sets the Number of output zones parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setSliceType(String sliceType)
Sets the Slice method 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 Slice()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Slice(Object inRaster, Object outRaster, int numberZones)
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 to be reclassified.outRaster
- the output reclassified raster. the output will always be of integer type.numberZones
- the number of zones to reclassify the input raster into. when the slice method is EQUAL_AREA, the output raster will have the defined number of zones, with a similar number of cells in each. when EQUAL_INTERVAL is used, the output raster will have the defined number of zones, each containing equal value ranges on the output raster. when NATURAL_BREAKS is used, the output raster will have the defined number of zones, with the number of cells in each determined by the class breaks.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster to be reclassified.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the output reclassified raster. the output will always be of integer type.public int getNumberZones()
public void setNumberZones(int numberZones)
numberZones
- the number of zones to reclassify the input raster into. when the slice method is EQUAL_AREA, the output raster will have the defined number of zones, with a similar number of cells in each. when EQUAL_INTERVAL is used, the output raster will have the defined number of zones, each containing equal value ranges on the output raster. when NATURAL_BREAKS is used, the output raster will have the defined number of zones, with the number of cells in each determined by the class breaks.public String getSliceType()
public void setSliceType(String sliceType)
sliceType
- the manner in which to slice the values in the input raster.public int getBaseOutputZone()
public void setBaseOutputZone(int baseOutputZone)
baseOutputZone
- defines the lowest zone value on the output raster dataset. the default value is 1.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 |