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

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

public class PointDensity
extends AbstractGPTool

Calculates a magnitude per unit area from point features that fall within a neighborhood around each cell. The Point Density tool is contained in the Spatial Analyst Tools tool box.
Learn more about how Point Density works

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
PointDensity()
          Creates the Point Density tool with defaults.
PointDensity(Object inPointFeatures, Object populationField, Object outRaster)
          Creates the Point Density tool with the required parameters.
 
Method Summary
 String getAreaUnitScaleFactor()
          Returns the Area units parameter of this tool .
 Object getCellSize()
          Returns the Output cell size parameter of this tool .
 Object getInPointFeatures()
          Returns the Input point features parameter of this tool .
 Object getNeighborhood()
          Returns the Neighborhood parameter of this tool .
 Object getOutRaster()
          Returns the Output raster parameter of this tool .
 Object getPopulationField()
          Returns the Population field 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 setAreaUnitScaleFactor(String areaUnitScaleFactor)
          Sets the Area units parameter of this tool .
 void setCellSize(Object cellSize)
          Sets the Output cell size parameter of this tool .
 void setInPointFeatures(Object inPointFeatures)
          Sets the Input point features parameter of this tool .
 void setNeighborhood(Object neighborhood)
          Sets the Neighborhood parameter of this tool .
 void setOutRaster(Object outRaster)
          Sets the Output raster parameter of this tool .
 void setPopulationField(Object populationField)
          Sets the Population field 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

PointDensity

public PointDensity()
Creates the Point Density tool with defaults.

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


PointDensity

public PointDensity(Object inPointFeatures,
                    Object populationField,
                    Object outRaster)
Creates the Point Density 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 - Composite Geodataset, the input point features to calculate the density for.
populationField - Field, otherwise, the default field is . Further to this:
outRaster - Raster Dataset, the raster to be created.
Method Detail

getInPointFeatures

public Object getInPointFeatures()
Returns the Input point features parameter of this tool . This parameter is Composite Geodataset, the input point features to calculate the density for. This is a required parameter.

Returns:
the Input point features

setInPointFeatures

public void setInPointFeatures(Object inPointFeatures)
Sets the Input point features parameter of this tool . This parameter is Composite Geodataset, the input point features to calculate the density for. This is a required parameter.

Parameters:
inPointFeatures - Composite Geodataset, the input point features to calculate the density for.

getPopulationField

public Object getPopulationField()
Returns the Population field parameter of this tool . This parameter is Field, otherwise, the default field is . Further to this: This is a required parameter.

Returns:
the Population field

setPopulationField

public void setPopulationField(Object populationField)
Sets the Population field parameter of this tool . This parameter is Field, otherwise, the default field is . Further to this: This is a required parameter.

Parameters:
populationField - Field, otherwise, the default field is . Further to this:

getOutRaster

public Object getOutRaster()
Returns the Output raster parameter of this tool . This parameter is Raster Dataset, the raster to be created. This is a required parameter.

Returns:
the Output raster

setOutRaster

public void setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . This parameter is Raster Dataset, the raster to be created. This is a required parameter.

Parameters:
outRaster - Raster Dataset, the raster to be created.

getCellSize

public Object getCellSize()
Returns the Output cell size parameter of this tool . This parameter is Analysis cell size, this is the value in the environment if specifically set. If the environment is not set, cell size is the shortest of the width or height of the extent of in_point_features in the output spatial reference, divided by 250. This is an optional parameter.

Returns:
the Output cell size

setCellSize

public void setCellSize(Object cellSize)
Sets the Output cell size parameter of this tool . This parameter is Analysis cell size, this is the value in the environment if specifically set. If the environment is not set, cell size is the shortest of the width or height of the extent of in_point_features in the output spatial reference, divided by 250. This is an optional parameter.

Parameters:
cellSize - Analysis cell size, this is the value in the environment if specifically set. If the environment is not set, cell size is the shortest of the width or height of the extent of in_point_features in the output spatial reference, divided by 250.

getNeighborhood

public Object getNeighborhood()
Returns the Neighborhood parameter of this tool . This parameter is Neighborhood, the default is CIRCLE, where {RADIUS} is the shortest of the width or height of the extent of in_point_features in the output spatial reference, divided by 30. This is an optional parameter.

Returns:
the Neighborhood

setNeighborhood

public void setNeighborhood(Object neighborhood)
Sets the Neighborhood parameter of this tool . This parameter is Neighborhood, the default is CIRCLE, where {RADIUS} is the shortest of the width or height of the extent of in_point_features in the output spatial reference, divided by 30. This is an optional parameter.

Parameters:
neighborhood - Neighborhood, the default is CIRCLE, where {RADIUS} is the shortest of the width or height of the extent of in_point_features in the output spatial reference, divided by 30.

getAreaUnitScaleFactor

public String getAreaUnitScaleFactor()
Returns the Area units parameter of this tool . This parameter is String, the default density units based on the input feature units are: This is an optional parameter.

Returns:
the Area units

setAreaUnitScaleFactor

public void setAreaUnitScaleFactor(String areaUnitScaleFactor)
Sets the Area units parameter of this tool . This parameter is String, the default density units based on the input feature units are: This is an optional parameter.

Parameters:
areaUnitScaleFactor - String, the default density units based on the input feature units are:

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias