com.esri.arcgis.geoprocessing.tools.coveragetools
Class PointNode

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

public class PointNode
extends AbstractGPTool

Performs a spatial JOINITEM on the point coverage and the node coverage. It transfers the attributes from a point feature class to a node feature class. Each point feature in the point coverage is matched to the corresponding node feature in the node coverage. If any point is within the search radius of a node, the attributes are copied. The Point Node tool is contained in the Coverage Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
PointNode()
          Creates the Point Node tool with defaults.
PointNode(Object pointCover, Object nodeCover)
          Creates the Point Node tool with the required parameters.
 
Method Summary
 Object getNodeCover()
          Returns the Node Coverage parameter of this tool .
 Object getOutCover()
          Returns the Output Coverage parameter of this tool (Read only).
 Object getPointCover()
          Returns the Point Coverage parameter of this tool .
 double 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 setNodeCover(Object nodeCover)
          Sets the Node Coverage parameter of this tool .
 void setPointCover(Object pointCover)
          Sets the Point Coverage parameter of this tool .
 void setSearchRadius(double 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

PointNode

public PointNode()
Creates the Point Node tool with defaults.

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


PointNode

public PointNode(Object pointCover,
                 Object nodeCover)
Creates the Point Node 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:
pointCover - the coverage containing point features to be transferred.
nodeCover - an existing cover whose node attribute values will be updated or created if the NAT does not exist.
Method Detail

getPointCover

public Object getPointCover()
Returns the Point Coverage parameter of this tool . This parameter is the coverage containing point features to be transferred. This is a required parameter.

Returns:
the Point Coverage

setPointCover

public void setPointCover(Object pointCover)
Sets the Point Coverage parameter of this tool . This parameter is the coverage containing point features to be transferred. This is a required parameter.

Parameters:
pointCover - the coverage containing point features to be transferred.

getNodeCover

public Object getNodeCover()
Returns the Node Coverage parameter of this tool . This parameter is an existing cover whose node attribute values will be updated or created if the NAT does not exist. This is a required parameter.

Returns:
the Node Coverage

setNodeCover

public void setNodeCover(Object nodeCover)
Sets the Node Coverage parameter of this tool . This parameter is an existing cover whose node attribute values will be updated or created if the NAT does not exist. This is a required parameter.

Parameters:
nodeCover - an existing cover whose node attribute values will be updated or created if the NAT does not exist.

getSearchRadius

public double getSearchRadius()
Returns the Search Radius parameter of this tool . This parameter is the maximum distance apart that points and nodes can be for the attributes of the point class to be transferred and recorded to the node coverage as a node class. The radius is given in coverage units. The default search radius is the width or height of the node coverage's BND divided by 100, whichever is larger. This is an optional parameter.

Returns:
the Search Radius

setSearchRadius

public void setSearchRadius(double searchRadius)
Sets the Search Radius parameter of this tool . This parameter is the maximum distance apart that points and nodes can be for the attributes of the point class to be transferred and recorded to the node coverage as a node class. The radius is given in coverage units. The default search radius is the width or height of the node coverage's BND divided by 100, whichever is larger. This is an optional parameter.

Parameters:
searchRadius - the maximum distance apart that points and nodes can be for the attributes of the point class to be transferred and recorded to the node coverage as a node class. The radius is given in coverage units. The default search radius is the width or height of the node coverage's BND divided by 100, whichever is larger.

getOutCover

public Object getOutCover()
Returns the Output Coverage parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Coverage

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