|
|||||||||
| 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.analysistools.GenerateNearTable
public class GenerateNearTable
Determines the distance from each feature in the Input Features to the nearest features in the Near Features, within the Search Radius. The results are recorded in the output table.
The Generate Near Table tool is contained in the Analysis Tools tool box.
Learn more about how Generate Near Table works
Software restrictions: ArcInfo only

| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
GenerateNearTable()
Creates the Generate Near Table tool with defaults. |
|
GenerateNearTable(Object inFeatures,
Object nearFeatures,
Object outTable)
Creates the Generate Near Table tool with the required parameters. |
|
| Method Summary | |
|---|---|
String |
getAngle()
Returns the Angle parameter of this tool . |
String |
getClosest()
Returns the Find only closest feature parameter of this tool . |
int |
getClosestCount()
Returns the Maxinum number of closest matches parameter of this tool . |
Object |
getInFeatures()
Returns the Input Features parameter of this tool . |
String |
getLocation()
Returns the Location parameter of this tool . |
Object |
getNearFeatures()
Returns the Near Features parameter of this tool . |
Object |
getOutTable()
Returns the Output Table parameter of this tool . |
Object |
getSearchRadius()
Returns the Search Radius 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 |
setAngle(String angle)
Sets the Angle parameter of this tool . |
void |
setClosest(String closest)
Sets the Find only closest feature parameter of this tool . |
void |
setClosestCount(int closestCount)
Sets the Maxinum number of closest matches parameter of this tool . |
void |
setInFeatures(Object inFeatures)
Sets the Input Features parameter of this tool . |
void |
setLocation(String location)
Sets the Location parameter of this tool . |
void |
setNearFeatures(Object nearFeatures)
Sets the Near Features parameter of this tool . |
void |
setOutTable(Object outTable)
Sets the Output Table parameter of this tool . |
void |
setSearchRadius(Object searchRadius)
Sets the Search Radius 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 GenerateNearTable()
Initializes the array of tool parameters with the default values specified when the tool was created.
public GenerateNearTable(Object inFeatures,
Object nearFeatures,
Object outTable)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inFeatures - Feature Layer, the feature class or layer containing features from which near distances are calculated to each feature in the Near Features.nearFeatures - Feature Layer, the feature class or layer containing features from which distances are calculated to the closest feature in the Input Features. If multiple feature classes or layers are specified, an extra field named NEAR_FC will be added to the output table to identify which near feature class contains the closest feature.outTable - Table, the output table that will contain the proximity information such as INPUT_FID, NEAR_FID, NEAR_DIST and other attributes such as NEAR_XY, NEAR_ANGLE, NEAR_FC if necessary.| Method Detail |
|---|
public Object getInFeatures()
public void setInFeatures(Object inFeatures)
inFeatures - Feature Layer, the feature class or layer containing features from which near distances are calculated to each feature in the Near Features.public Object getNearFeatures()
public void setNearFeatures(Object nearFeatures)
nearFeatures - Feature Layer, the feature class or layer containing features from which distances are calculated to the closest feature in the Input Features. If multiple feature classes or layers are specified, an extra field named NEAR_FC will be added to the output table to identify which near feature class contains the closest feature.public Object getOutTable()
public void setOutTable(Object outTable)
outTable - Table, the output table that will contain the proximity information such as INPUT_FID, NEAR_FID, NEAR_DIST and other attributes such as NEAR_XY, NEAR_ANGLE, NEAR_FC if necessary.public Object getSearchRadius()
public void setSearchRadius(Object searchRadius)
searchRadius - Linear unit, the maximum distance between Input Features and Near Features for which distance and FID's will be determined. If no Search Radius is specified, all Near Features will be used.public String getLocation()
public void setLocation(String location)
location - String, determines whether the x,y coordinates of the nearest feature are added to the output table, as well as NEAR_FID and NEAR_DIST. The new fields are NEAR_X and NEAR_Y.public String getAngle()
public void setAngle(String angle)
angle - String, determines whether the angle between the near feature will calculated, and stored into the NEAR_ANGLE field. The angle value is measured in degrees, where one degree represents 1/360 of a circle, and fractions of a degree are represented as decimal points. Angles are measured from 180 to -180; 0 to the east, 90 to the north, 180 (-180) to the west, and -90 to the south.public String getClosest()
public void setClosest(String closest)
closest - String, determines whether to locate and return only the closest features or return all the features within the search radius.public int getClosestCount()
public void setClosestCount(int closestCount)
closestCount - Long, finds only the specified number of closest features. This parameter is disabled if Find only closest feature is selected.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 | ||||||||