|
|||||||||
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.PointDensity
public class PointDensity
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.
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 |
---|
public PointDensity()
Initializes the array of tool parameters with the default values specified when the tool was created.
public PointDensity(Object inPointFeatures, Object populationField, 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.
inPointFeatures
- the input point features for which to calculate the density.populationField
- field denoting population values for each point. The population
field is the count or quantity to be used in the calculation of a
continuous surface. values in the population field may be integer or floating point. use Shape if input features contains Z. use None if no item or special value will be used and each feature will be counted once. otherwise, the default field is POPULATION. Further to this:outRaster
- the output point density raster. it is always a floating point raster.Method Detail |
---|
public Object getInPointFeatures()
public void setInPointFeatures(Object inPointFeatures)
inPointFeatures
- the input point features for which to calculate the density.public Object getPopulationField()
public void setPopulationField(Object populationField)
populationField
- field denoting population values for each point. The population
field is the count or quantity to be used in the calculation of a
continuous surface. values in the population field may be integer or floating point. use Shape if input features contains Z. use None if no item or special value will be used and each feature will be counted once. otherwise, the default field is POPULATION. Further to this:public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- the output point density raster. it is always a floating point raster.public Object getCellSize()
public void setCellSize(Object cellSize)
cellSize
- the cell size for the output raster dataset. this is the value in the environment if specifically set. If the environment is not set, then cell size is the shorter of the width or height of the extent of the input features, in the output spatial reference, divided by 250.public Object getNeighborhood()
public void setNeighborhood(Object neighborhood)
neighborhood
- dictates the shape of the area around each cell used to calculate the density value. this is a Neighborhood class. there are four types of neighbourhood class: NbrAnnulus, NbrCircle, NbrRectangle, and NbrWedge. the forms and descriptions of the classes are: the default is NbrCircle, where radius is the shortest of the width or height of the extent of the input point features in the output spatial reference, divided by 30.public String getAreaUnitScaleFactor()
public void setAreaUnitScaleFactor(String areaUnitScaleFactor)
areaUnitScaleFactor
- the desired area units of the output density values. a default unit is selected based on the linear unit of the projection of the output spatial reference. You can change this to the appropriate unit if you wish to convert the density output. Values for line density convert the units of both length and area. for example, if your input units are meters the default output area density units will be square kilometers for point features or kilometers per square kilometer for polyline features. the default density units based on the input feature units are: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 |