com.esri.arcgis.geoprocessing.tools.spatialstatisticstools
Class MultiDistanceSpatialClustering

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

public class MultiDistanceSpatialClustering
extends AbstractGPTool

Determines whether features, or the values associated with features, exhibit statistically significant clustering or dispersion over a range of distances. The Multi-Distance Spatial Cluster Analysis (Ripleys K Function) tool is contained in the Spatial Statistics Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
MultiDistanceSpatialClustering()
          Creates the Multi-Distance Spatial Cluster Analysis (Ripleys K Function) tool with defaults.
MultiDistanceSpatialClustering(Object inputFeatureClass, Object outputTable, int numberOfDistanceBands)
          Creates the Multi-Distance Spatial Cluster Analysis (Ripleys K Function) tool with the required parameters.
 
Method Summary
 double getBeginningDistance()
          Returns the Beginning Distance parameter of this tool .
 String getBoundaryCorrectionMethod()
          Returns the Boundary Correction Method parameter of this tool .
 String getComputeConfidenceEnvelope()
          Returns the Compute Confidence Envelope parameter of this tool .
 String getDisplayResultsGraphically()
          Returns the Display Results Graphically parameter of this tool .
 double getDistanceIncrement()
          Returns the Distance Increment parameter of this tool .
 Object getInputFeatureClass()
          Returns the Input Feature Class parameter of this tool .
 int getNumberOfDistanceBands()
          Returns the Number of Distance Bands parameter of this tool .
 Object getOutputTable()
          Returns the Output Table parameter of this tool .
 Object getResultImage()
          Returns the Result Image parameter of this tool (Read only).
 Object getStudyAreaFeatureClass()
          Returns the Study Area Feature Class parameter of this tool .
 String getStudyAreaMethod()
          Returns the Study Area 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.
 Object getWeightField()
          Returns the Weight Field parameter of this tool .
 void setBeginningDistance(double beginningDistance)
          Sets the Beginning Distance parameter of this tool .
 void setBoundaryCorrectionMethod(String boundaryCorrectionMethod)
          Sets the Boundary Correction Method parameter of this tool .
 void setComputeConfidenceEnvelope(String computeConfidenceEnvelope)
          Sets the Compute Confidence Envelope parameter of this tool .
 void setDisplayResultsGraphically(String displayResultsGraphically)
          Sets the Display Results Graphically parameter of this tool .
 void setDistanceIncrement(double distanceIncrement)
          Sets the Distance Increment parameter of this tool .
 void setInputFeatureClass(Object inputFeatureClass)
          Sets the Input Feature Class parameter of this tool .
 void setNumberOfDistanceBands(int numberOfDistanceBands)
          Sets the Number of Distance Bands parameter of this tool .
 void setOutputTable(Object outputTable)
          Sets the Output Table parameter of this tool .
 void setStudyAreaFeatureClass(Object studyAreaFeatureClass)
          Sets the Study Area Feature Class parameter of this tool .
 void setStudyAreaMethod(String studyAreaMethod)
          Sets the Study Area Method parameter of this tool .
 void setWeightField(Object weightField)
          Sets the Weight 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

MultiDistanceSpatialClustering

public MultiDistanceSpatialClustering()
Creates the Multi-Distance Spatial Cluster Analysis (Ripleys K Function) tool with defaults.

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


MultiDistanceSpatialClustering

public MultiDistanceSpatialClustering(Object inputFeatureClass,
                                      Object outputTable,
                                      int numberOfDistanceBands)
Creates the Multi-Distance Spatial Cluster Analysis (Ripleys K Function) 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:
inputFeatureClass - the feature class upon which the analysis will be performed.
outputTable - the table to which the results of the analysis will be written.
numberOfDistanceBands - the number of times to increment the neighborhood size and analyze the dataset for clustering. The starting point and size of the increment are specified in the Beginning Distance and Distance Increment parameters, respectively.
Method Detail

getInputFeatureClass

public Object getInputFeatureClass()
Returns the Input Feature Class parameter of this tool . This parameter is the feature class upon which the analysis will be performed. This is a required parameter.

Returns:
the Input Feature Class

setInputFeatureClass

public void setInputFeatureClass(Object inputFeatureClass)
Sets the Input Feature Class parameter of this tool . This parameter is the feature class upon which the analysis will be performed. This is a required parameter.

Parameters:
inputFeatureClass - the feature class upon which the analysis will be performed.

getOutputTable

public Object getOutputTable()
Returns the Output Table parameter of this tool . This parameter is the table to which the results of the analysis will be written. This is a required parameter.

Returns:
the Output Table

setOutputTable

public void setOutputTable(Object outputTable)
Sets the Output Table parameter of this tool . This parameter is the table to which the results of the analysis will be written. This is a required parameter.

Parameters:
outputTable - the table to which the results of the analysis will be written.

getNumberOfDistanceBands

public int getNumberOfDistanceBands()
Returns the Number of Distance Bands parameter of this tool . This parameter is the number of times to increment the neighborhood size and analyze the dataset for clustering. The starting point and size of the increment are specified in the Beginning Distance and Distance Increment parameters, respectively. This is a required parameter.

Returns:
the Number of Distance Bands

setNumberOfDistanceBands

public void setNumberOfDistanceBands(int numberOfDistanceBands)
Sets the Number of Distance Bands parameter of this tool . This parameter is the number of times to increment the neighborhood size and analyze the dataset for clustering. The starting point and size of the increment are specified in the Beginning Distance and Distance Increment parameters, respectively. This is a required parameter.

Parameters:
numberOfDistanceBands - the number of times to increment the neighborhood size and analyze the dataset for clustering. The starting point and size of the increment are specified in the Beginning Distance and Distance Increment parameters, respectively.

getComputeConfidenceEnvelope

public String getComputeConfidenceEnvelope()
Returns the Compute Confidence Envelope parameter of this tool . This parameter is the confidence envelope is calculated by randomly placing feature points (or feature values) in the study area. The number of points/values randomly placed is equal to the number of points in the feature class. Each set of random placements is called a "permutation" and the confidence envelope is created from these permutations. This parameter allows you to select how many permutations you want to use to create the confidence envelope. This is an optional parameter.

Returns:
the Compute Confidence Envelope

setComputeConfidenceEnvelope

public void setComputeConfidenceEnvelope(String computeConfidenceEnvelope)
Sets the Compute Confidence Envelope parameter of this tool . This parameter is the confidence envelope is calculated by randomly placing feature points (or feature values) in the study area. The number of points/values randomly placed is equal to the number of points in the feature class. Each set of random placements is called a "permutation" and the confidence envelope is created from these permutations. This parameter allows you to select how many permutations you want to use to create the confidence envelope. This is an optional parameter.

Parameters:
computeConfidenceEnvelope - the confidence envelope is calculated by randomly placing feature points (or feature values) in the study area. The number of points/values randomly placed is equal to the number of points in the feature class. Each set of random placements is called a "permutation" and the confidence envelope is created from these permutations. This parameter allows you to select how many permutations you want to use to create the confidence envelope.

getDisplayResultsGraphically

public String getDisplayResultsGraphically()
Returns the Display Results Graphically parameter of this tool . This is an optional parameter.

Returns:
the Display Results Graphically

setDisplayResultsGraphically

public void setDisplayResultsGraphically(String displayResultsGraphically)
Sets the Display Results Graphically parameter of this tool . This is an optional parameter.

Parameters:
displayResultsGraphically - null

getWeightField

public Object getWeightField()
Returns the Weight Field parameter of this tool . This parameter is a numeric field with weights representing the number of features/events at each location. This is an optional parameter.

Returns:
the Weight Field

setWeightField

public void setWeightField(Object weightField)
Sets the Weight Field parameter of this tool . This parameter is a numeric field with weights representing the number of features/events at each location. This is an optional parameter.

Parameters:
weightField - a numeric field with weights representing the number of features/events at each location.

getBeginningDistance

public double getBeginningDistance()
Returns the Beginning Distance parameter of this tool . This parameter is the distance at which to start the cluster analysis and the distance from which to increment. The value entered for this parameter should be in the units of the Output Coordinate System. This is an optional parameter.

Returns:
the Beginning Distance

setBeginningDistance

public void setBeginningDistance(double beginningDistance)
Sets the Beginning Distance parameter of this tool . This parameter is the distance at which to start the cluster analysis and the distance from which to increment. The value entered for this parameter should be in the units of the Output Coordinate System. This is an optional parameter.

Parameters:
beginningDistance - the distance at which to start the cluster analysis and the distance from which to increment. The value entered for this parameter should be in the units of the Output Coordinate System.

getDistanceIncrement

public double getDistanceIncrement()
Returns the Distance Increment parameter of this tool . This parameter is the distance to increment during each iteration. The distance used in the analysis starts at the Beginning Distance and increments by the amount specified in the Distance Increment. The value entered for this parameter should be in the units of the Output Coordinate System. This is an optional parameter.

Returns:
the Distance Increment

setDistanceIncrement

public void setDistanceIncrement(double distanceIncrement)
Sets the Distance Increment parameter of this tool . This parameter is the distance to increment during each iteration. The distance used in the analysis starts at the Beginning Distance and increments by the amount specified in the Distance Increment. The value entered for this parameter should be in the units of the Output Coordinate System. This is an optional parameter.

Parameters:
distanceIncrement - the distance to increment during each iteration. The distance used in the analysis starts at the Beginning Distance and increments by the amount specified in the Distance Increment. The value entered for this parameter should be in the units of the Output Coordinate System.

getBoundaryCorrectionMethod

public String getBoundaryCorrectionMethod()
Returns the Boundary Correction Method parameter of this tool . This parameter is method to use to correct for underestimates in the number of neighbors for features near the edges of the study area. This is an optional parameter.

Returns:
the Boundary Correction Method

setBoundaryCorrectionMethod

public void setBoundaryCorrectionMethod(String boundaryCorrectionMethod)
Sets the Boundary Correction Method parameter of this tool . This parameter is method to use to correct for underestimates in the number of neighbors for features near the edges of the study area. This is an optional parameter.

Parameters:
boundaryCorrectionMethod - method to use to correct for underestimates in the number of neighbors for features near the edges of the study area.

getStudyAreaMethod

public String getStudyAreaMethod()
Returns the Study Area Method parameter of this tool . This parameter is specifies the region to use for the study area. The K Function is sensitive to changes in study area size so careful selection of this value is important. This is an optional parameter.

Returns:
the Study Area Method

setStudyAreaMethod

public void setStudyAreaMethod(String studyAreaMethod)
Sets the Study Area Method parameter of this tool . This parameter is specifies the region to use for the study area. The K Function is sensitive to changes in study area size so careful selection of this value is important. This is an optional parameter.

Parameters:
studyAreaMethod - specifies the region to use for the study area. The K Function is sensitive to changes in study area size so careful selection of this value is important.

getStudyAreaFeatureClass

public Object getStudyAreaFeatureClass()
Returns the Study Area Feature Class parameter of this tool . This parameter is feature class that delineates the area over which the input feature class should be analyzed. Only to be specified if User-provided Study Area Feature Class is selected for the Study Area Method parameter. This is an optional parameter.

Returns:
the Study Area Feature Class

setStudyAreaFeatureClass

public void setStudyAreaFeatureClass(Object studyAreaFeatureClass)
Sets the Study Area Feature Class parameter of this tool . This parameter is feature class that delineates the area over which the input feature class should be analyzed. Only to be specified if User-provided Study Area Feature Class is selected for the Study Area Method parameter. This is an optional parameter.

Parameters:
studyAreaFeatureClass - feature class that delineates the area over which the input feature class should be analyzed. Only to be specified if User-provided Study Area Feature Class is selected for the Study Area Method parameter.

getResultImage

public Object getResultImage()
Returns the Result Image parameter of this tool (Read only). This is an derived parameter.

Returns:
the Result Image

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