|
|||||||||
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.LineStatistics
public class LineStatistics
Calculates a statistic on the attributes of lines in a circular neighborhood around each output cell. The Line Statistics tool is contained in the Spatial Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
LineStatistics()
Creates the Line Statistics tool with defaults. |
|
LineStatistics(Object inPolylineFeatures,
Object field,
Object outRaster)
Creates the Line Statistics tool with the required parameters. |
Method Summary | |
---|---|
Object |
getCellSize()
Returns the Output cell size parameter of this tool . |
Object |
getField()
Returns the Field parameter of this tool . |
Object |
getInPolylineFeatures()
Returns the Input polyline features parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster parameter of this tool . |
double |
getSearchRadius()
Returns the Search radius parameter of this tool . |
String |
getStatisticsType()
Returns the Statistics type 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 |
setField(Object field)
Sets the Field parameter of this tool . |
void |
setInPolylineFeatures(Object inPolylineFeatures)
Sets the Input polyline features parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setSearchRadius(double searchRadius)
Sets the Search radius parameter of this tool . |
void |
setStatisticsType(String statisticsType)
Sets the Statistics type 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 LineStatistics()
Initializes the array of tool parameters with the default values specified when the tool was created.
public LineStatistics(Object inPolylineFeatures, Object field, 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.
inPolylineFeatures
- the input polyline features for which to calculate the Line Statistics.field
- field can be any numeric field of the input line features. it can be the Shape field if the input features contains z.outRaster
- the output line statistics raster.Method Detail |
---|
public Object getInPolylineFeatures()
public void setInPolylineFeatures(Object inPolylineFeatures)
inPolylineFeatures
- the input polyline features for which to calculate the Line Statistics.public Object getField()
public void setField(Object field)
field
- field can be any numeric field of the input line features. it can be the Shape field if the input features contains z.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the output line statistics raster.public Object getCellSize()
public void setCellSize(Object cellSize)
cellSize
- cell size for output raster dataset. this is the value in the environment if specifically set. If not set in the environment, it is the shorter of the width or height of the extent of the input feature dataset, in the output spatial reference, divided by 250.public double getSearchRadius()
public void setSearchRadius(double searchRadius)
searchRadius
- search radius to calculate the desired statistic within, in map units. the default radius is five times the output cell size.public String getStatisticsType()
public void setStatisticsType(String statisticsType)
statisticsType
- the Statistic type to be calculated. statistics are calculated on the value of the specified field for all lines in the neighborhood.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 |