com.esri.arcgis.geoprocessing.tools.networkanalysttools
Class DissolveNetwork

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

public class DissolveNetwork
extends AbstractGPTool

Creates a network dataset that minimizes the number of line features required to correctly model the input network dataset. The more efficient output network dataset reduces the time required to solve analyses, draw results, and generate driving directions. This tool outputs a new network dataset and source feature classes; the input network dataset and its source features remain unchanged. The Dissolve Network tool is contained in the Network Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
DissolveNetwork()
          Creates the Dissolve Network tool with defaults.
DissolveNetwork(Object inNetworkDataset, Object outWorkspaceLocation)
          Creates the Dissolve Network tool with the required parameters.
 
Method Summary
 Object getInNetworkDataset()
          Returns the Input Network Dataset parameter of this tool .
 Object getOutNetworkDataset()
          Returns the Output Network Dataset parameter of this tool (Read only).
 Object getOutWorkspaceLocation()
          Returns the Output Geodatabase Workspace 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 setInNetworkDataset(Object inNetworkDataset)
          Sets the Input Network Dataset parameter of this tool .
 void setOutWorkspaceLocation(Object outWorkspaceLocation)
          Sets the Output Geodatabase Workspace 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

DissolveNetwork

public DissolveNetwork()
Creates the Dissolve Network tool with defaults.

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


DissolveNetwork

public DissolveNetwork(Object inNetworkDataset,
                       Object outWorkspaceLocation)
Creates the Dissolve Network 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:
inNetworkDataset - the network dataset to be dissolved. the input network dataset must be a file or personal geodatabase network dataset with exactly one edge source. Any number of junction sources and turn sources is allowed. The edge source must have: the input network dataset must be built before it can be used in this tool.
  • End point connectivity policy
  • An elevation policy of either None or Elevation Fields
outWorkspaceLocation - the geodatabase workspace in which to create the dissolved network dataset. The workspace must be an ArcGIS 10 geodatabase or later.
Method Detail

getInNetworkDataset

public Object getInNetworkDataset()
Returns the Input Network Dataset parameter of this tool . This parameter is the network dataset to be dissolved. the input network dataset must be a file or personal geodatabase network dataset with exactly one edge source. Any number of junction sources and turn sources is allowed. The edge source must have: the input network dataset must be built before it can be used in this tool. This is a required parameter.

Returns:
the Input Network Dataset

setInNetworkDataset

public void setInNetworkDataset(Object inNetworkDataset)
Sets the Input Network Dataset parameter of this tool . This parameter is the network dataset to be dissolved. the input network dataset must be a file or personal geodatabase network dataset with exactly one edge source. Any number of junction sources and turn sources is allowed. The edge source must have: the input network dataset must be built before it can be used in this tool. This is a required parameter.

Parameters:
inNetworkDataset - the network dataset to be dissolved. the input network dataset must be a file or personal geodatabase network dataset with exactly one edge source. Any number of junction sources and turn sources is allowed. The edge source must have: the input network dataset must be built before it can be used in this tool.
  • End point connectivity policy
  • An elevation policy of either None or Elevation Fields

getOutWorkspaceLocation

public Object getOutWorkspaceLocation()
Returns the Output Geodatabase Workspace parameter of this tool . This parameter is the geodatabase workspace in which to create the dissolved network dataset. The workspace must be an ArcGIS 10 geodatabase or later. This is a required parameter.

Returns:
the Output Geodatabase Workspace

setOutWorkspaceLocation

public void setOutWorkspaceLocation(Object outWorkspaceLocation)
Sets the Output Geodatabase Workspace parameter of this tool . This parameter is the geodatabase workspace in which to create the dissolved network dataset. The workspace must be an ArcGIS 10 geodatabase or later. This is a required parameter.

Parameters:
outWorkspaceLocation - the geodatabase workspace in which to create the dissolved network dataset. The workspace must be an ArcGIS 10 geodatabase or later.

getOutNetworkDataset

public Object getOutNetworkDataset()
Returns the Output Network Dataset parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Network Dataset

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