|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.spatialstatisticstools.GenerateSpatialWeightsMatrix
public class GenerateSpatialWeightsMatrix
Constructs a spatial weights matrix (.swm) file to represent the spatial relationships among features in a dataset. The Generate Spatial Weights Matrix tool is contained in the Spatial Statistics Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
GenerateSpatialWeightsMatrix()
Creates the Generate Spatial Weights Matrix tool with defaults. |
|
GenerateSpatialWeightsMatrix(Object inputFeatureClass,
Object uniqueIDField,
Object outputSpatialWeightsMatrixFile,
String conceptualizationOfSpatialRelationships)
Creates the Generate Spatial Weights Matrix tool with the required parameters. |
Method Summary | |
---|---|
String |
getConceptualizationOfSpatialRelationships()
Returns the Conceptualization of Spatial Relationships parameter of this tool . |
String |
getDistanceMethod()
Returns the Distance Method parameter of this tool . |
double |
getExponent()
Returns the Exponent parameter of this tool . |
Object |
getInputFeatureClass()
Returns the Input Feature Class parameter of this tool . |
Object |
getInputTable()
Returns the Input Table parameter of this tool . |
int |
getNumberOfNeighbors()
Returns the Number of Neighbors parameter of this tool . |
Object |
getOutputSpatialWeightsMatrixFile()
Returns the Output Spatial Weights Matrix File parameter of this tool . |
String |
getRowStandardization()
Returns the Row Standardization parameter of this tool . |
double |
getThresholdDistance()
Returns the Threshold Distance 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 |
getUniqueIDField()
Returns the Unique ID Field parameter of this tool . |
void |
setConceptualizationOfSpatialRelationships(String conceptualizationOfSpatialRelationships)
Sets the Conceptualization of Spatial Relationships parameter of this tool . |
void |
setDistanceMethod(String distanceMethod)
Sets the Distance Method parameter of this tool . |
void |
setExponent(double exponent)
Sets the Exponent parameter of this tool . |
void |
setInputFeatureClass(Object inputFeatureClass)
Sets the Input Feature Class parameter of this tool . |
void |
setInputTable(Object inputTable)
Sets the Input Table parameter of this tool . |
void |
setNumberOfNeighbors(int numberOfNeighbors)
Sets the Number of Neighbors parameter of this tool . |
void |
setOutputSpatialWeightsMatrixFile(Object outputSpatialWeightsMatrixFile)
Sets the Output Spatial Weights Matrix File parameter of this tool . |
void |
setRowStandardization(String rowStandardization)
Sets the Row Standardization parameter of this tool . |
void |
setThresholdDistance(double thresholdDistance)
Sets the Threshold Distance parameter of this tool . |
void |
setUniqueIDField(Object uniqueIDField)
Sets the Unique ID 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 GenerateSpatialWeightsMatrix()
Initializes the array of tool parameters with the default values specified when the tool was created.
public GenerateSpatialWeightsMatrix(Object inputFeatureClass, Object uniqueIDField, Object outputSpatialWeightsMatrixFile, String conceptualizationOfSpatialRelationships)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inputFeatureClass
- the feature class for which spatial relationships of features will be assessed.uniqueIDField
- an integer field containing a different value for every feature in the Input Feature Class.outputSpatialWeightsMatrixFile
- the full pathname for the spatial weights matrix file (.swm) you want to create.conceptualizationOfSpatialRelationships
- specifies how spatial relationships among features are conceptualized. note: Polygon Contiguity methods are only available with an Advanced license.Method Detail |
---|
public Object getInputFeatureClass()
public void setInputFeatureClass(Object inputFeatureClass)
inputFeatureClass
- the feature class for which spatial relationships of features will be assessed.public Object getUniqueIDField()
public void setUniqueIDField(Object uniqueIDField)
uniqueIDField
- an integer field containing a different value for every feature in the Input Feature Class.public Object getOutputSpatialWeightsMatrixFile()
public void setOutputSpatialWeightsMatrixFile(Object outputSpatialWeightsMatrixFile)
outputSpatialWeightsMatrixFile
- the full pathname for the spatial weights matrix file (.swm) you want to create.public String getConceptualizationOfSpatialRelationships()
public void setConceptualizationOfSpatialRelationships(String conceptualizationOfSpatialRelationships)
conceptualizationOfSpatialRelationships
- specifies how spatial relationships among features are conceptualized. note: Polygon Contiguity methods are only available with an Advanced license.public String getDistanceMethod()
public void setDistanceMethod(String distanceMethod)
distanceMethod
- specifies how distances are calculated from each feature to neighboring features.public double getExponent()
public void setExponent(double exponent)
exponent
- parameter for inverse distance calculation. Typical values are 1 or 2.public double getThresholdDistance()
public void setThresholdDistance(double thresholdDistance)
thresholdDistance
- specifies a cutoff distance for Inverse Distance and Fixed Distance conceptualizations of spatial relationships. Enter this value using the units specified in the environment output coordinate system. a value of zero indicates that no threshold distance is applied. When this parameter is left blank, a default threshold value is computed based on output feature class extent and the number of features.public int getNumberOfNeighbors()
public void setNumberOfNeighbors(int numberOfNeighbors)
numberOfNeighbors
- an integer reflecting either the minimum or the exact number of neighbors. For , each feature will have exactly this specified number of neighbors. For or each feature will have at least this many neighbors (the threshold distance will be temporarily extended to ensure this many neighbors, if necessary). When there are island polygons and one of the conceptualizations of Spatial Relationships is selected, then this specified number of nearest polygons will be associated with those island polygons.public String getRowStandardization()
public void setRowStandardization(String rowStandardization)
rowStandardization
- row standardization is recommended whenever feature distribution is potentially biased due to sampling design or to an imposed aggregation scheme.public Object getInputTable()
public void setInputTable(Object inputTable)
inputTable
- a table containing numeric weights relating every feature to every other feature in the input feature class. Required fields are the Input Feature Class Unique ID field, NID (neighbor ID), and WEIGHT.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 |