com.esri.arcgis.geoprocessing.tools.spatialanalysttools
Class PointStatistics

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

public class PointStatistics
extends AbstractGPTool

Calculates a statistic on the points in a neighborhood around each output cell. The Point Statistics tool is contained in the Spatial Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
PointStatistics()
          Creates the Point Statistics tool with defaults.
PointStatistics(java.lang.Object inPointFeatures, java.lang.Object field, java.lang.Object outRaster)
          Creates the Point Statistics tool with the required parameters.
 
Method Summary
 java.lang.Object getCellSize()
          Returns the Output cell size parameter of this tool .
 java.lang.Object getField()
          Returns the Field parameter of this tool .
 java.lang.Object getInPointFeatures()
          Returns the Input point features parameter of this tool .
 java.lang.Object getNeighborhood()
          Returns the Neighborhood parameter of this tool .
 java.lang.Object getOutRaster()
          Returns the Output raster parameter of this tool .
 java.lang.String getStatisticsType()
          Returns the Statistics type parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setCellSize(java.lang.Object cellSize)
          Sets the Output cell size parameter of this tool .
 void setField(java.lang.Object field)
          Sets the Field parameter of this tool .
 void setInPointFeatures(java.lang.Object inPointFeatures)
          Sets the Input point features parameter of this tool .
 void setNeighborhood(java.lang.Object neighborhood)
          Sets the Neighborhood parameter of this tool .
 void setOutRaster(java.lang.Object outRaster)
          Sets the Output raster parameter of this tool .
 void setStatisticsType(java.lang.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

PointStatistics

public PointStatistics()
Creates the Point Statistics tool with defaults.

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


PointStatistics

public PointStatistics(java.lang.Object inPointFeatures,
                       java.lang.Object field,
                       java.lang.Object outRaster)
Creates the Point Statistics 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:
inPointFeatures - the input point features for which to calculate the statistics in a neighborhood around each output cell. the input can be either a point or multipoint feature class.
field - field can be any numeric field of the input point features. it can be the Shape field if the input features contains z.
outRaster - the output point statistics raster.
Method Detail

getInPointFeatures

public java.lang.Object getInPointFeatures()
Returns the Input point features parameter of this tool . This parameter is the input point features for which to calculate the statistics in a neighborhood around each output cell. the input can be either a point or multipoint feature class. This is a required parameter.

Returns:
the Input point features

setInPointFeatures

public void setInPointFeatures(java.lang.Object inPointFeatures)
Sets the Input point features parameter of this tool . This parameter is the input point features for which to calculate the statistics in a neighborhood around each output cell. the input can be either a point or multipoint feature class. This is a required parameter.

Parameters:
inPointFeatures - the input point features for which to calculate the statistics in a neighborhood around each output cell. the input can be either a point or multipoint feature class.

getField

public java.lang.Object getField()
Returns the Field parameter of this tool . This parameter is field can be any numeric field of the input point features. it can be the Shape field if the input features contains z. This is a required parameter.

Returns:
the Field

setField

public void setField(java.lang.Object field)
Sets the Field parameter of this tool . This parameter is field can be any numeric field of the input point features. it can be the Shape field if the input features contains z. This is a required parameter.

Parameters:
field - field can be any numeric field of the input point features. it can be the Shape field if the input features contains z.

getOutRaster

public java.lang.Object getOutRaster()
Returns the Output raster parameter of this tool . This parameter is the output point statistics raster. This is a required parameter.

Returns:
the Output raster

setOutRaster

public void setOutRaster(java.lang.Object outRaster)
Sets the Output raster parameter of this tool . This parameter is the output point statistics raster. This is a required parameter.

Parameters:
outRaster - the output point statistics raster.

getCellSize

public java.lang.Object getCellSize()
Returns the Output cell size parameter of this tool . This parameter is 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. This is an optional parameter.

Returns:
the Output cell size

setCellSize

public void setCellSize(java.lang.Object cellSize)
Sets the Output cell size parameter of this tool . This parameter is 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. This is an optional parameter.

Parameters:
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.

getNeighborhood

public java.lang.Object getNeighborhood()
Returns the Neighborhood parameter of this tool . This parameter is the Neighborhood class dictates the shape of the area around each input point used to calculate the statistic. the different types of neighborhood available are: NbrAnnulus, NbrCircle, NbrRectangle, and NbrWedge. the following are the forms of the neighborhoods: the {CELL | MAP} parameter defines the distance units as either being Cell units or Map units. the default neighborhood is a square NbrRectangle with a width and height of 3 cells. This is an optional parameter.

Returns:
the Neighborhood

setNeighborhood

public void setNeighborhood(java.lang.Object neighborhood)
Sets the Neighborhood parameter of this tool . This parameter is the Neighborhood class dictates the shape of the area around each input point used to calculate the statistic. the different types of neighborhood available are: NbrAnnulus, NbrCircle, NbrRectangle, and NbrWedge. the following are the forms of the neighborhoods: the {CELL | MAP} parameter defines the distance units as either being Cell units or Map units. the default neighborhood is a square NbrRectangle with a width and height of 3 cells. This is an optional parameter.

Parameters:
neighborhood - the Neighborhood class dictates the shape of the area around each input point used to calculate the statistic. the different types of neighborhood available are: NbrAnnulus, NbrCircle, NbrRectangle, and NbrWedge. the following are the forms of the neighborhoods: the {CELL | MAP} parameter defines the distance units as either being Cell units or Map units. the default neighborhood is a square NbrRectangle with a width and height of 3 cells.

getStatisticsType

public java.lang.String getStatisticsType()
Returns the Statistics type parameter of this tool . This parameter is the statistic type to be calculated. the calculation is performed on the values of the specified field of the point input in the neighborhood of each output raster cell. This is an optional parameter.

Returns:
the Statistics type

setStatisticsType

public void setStatisticsType(java.lang.String statisticsType)
Sets the Statistics type parameter of this tool . This parameter is the statistic type to be calculated. the calculation is performed on the values of the specified field of the point input in the neighborhood of each output raster cell. This is an optional parameter.

Parameters:
statisticsType - the statistic type to be calculated. the calculation is performed on the values of the specified field of the point input in the neighborhood of each output raster cell.

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias