com.esri.arcgis.geoprocessing.tools.cartographytools
Class MergeDividedRoads

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

public class MergeDividedRoads
extends AbstractGPTool

Generates single line road features in place of matched pairs of divided road lanes. The Merge Divided Roads tool is contained in the Cartography Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
MergeDividedRoads()
          Creates the Merge Divided Roads tool with defaults.
MergeDividedRoads(java.lang.Object inFeatures, java.lang.Object mergeField, java.lang.Object mergeDistance, java.lang.Object outFeatures)
          Creates the Merge Divided Roads tool with the required parameters.
 
Method Summary
 java.lang.Object getInFeatures()
          Returns the Input Features parameter of this tool .
 java.lang.Object getMergeDistance()
          Returns the Merge Distance parameter of this tool .
 java.lang.Object getMergeField()
          Returns the Merge Field parameter of this tool .
 java.lang.Object getOutDisplacementFeatures()
          Returns the Output Displacement Feature Class parameter of this tool .
 java.lang.Object getOutFeatures()
          Returns the Output Features parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setInFeatures(java.lang.Object inFeatures)
          Sets the Input Features parameter of this tool .
 void setMergeDistance(java.lang.Object mergeDistance)
          Sets the Merge Distance parameter of this tool .
 void setMergeField(java.lang.Object mergeField)
          Sets the Merge Field parameter of this tool .
 void setOutDisplacementFeatures(java.lang.Object outDisplacementFeatures)
          Sets the Output Displacement Feature Class parameter of this tool .
 void setOutFeatures(java.lang.Object outFeatures)
          Sets the Output Features 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

MergeDividedRoads

public MergeDividedRoads()
Creates the Merge Divided Roads tool with defaults.

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


MergeDividedRoads

public MergeDividedRoads(java.lang.Object inFeatures,
                         java.lang.Object mergeField,
                         java.lang.Object mergeDistance,
                         java.lang.Object outFeatures)
Creates the Merge Divided Roads 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:
inFeatures - the input linear road features that contain matched pairs of divided road lanes which should be merged together to a single output line feature.
mergeField - the field that contains road classification information. Only parallel, proximate roads of equal classification will be merged. A value of 0 (zero) locks a feature to prevent it from participating in merging.
mergeDistance - the minimum distance apart, in the specified units, for equal-class, relatively parallel road features to be merged. This distance must be greater than zero. If the units are in pt, mm, cm, or in, the value is considered as page units and takes into account the reference scale.
outFeatures - the output feature class containing single line merged road features and all unmerged road features.
Method Detail

getInFeatures

public java.lang.Object getInFeatures()
Returns the Input Features parameter of this tool . This parameter is the input linear road features that contain matched pairs of divided road lanes which should be merged together to a single output line feature. This is a required parameter.

Returns:
the Input Features

setInFeatures

public void setInFeatures(java.lang.Object inFeatures)
Sets the Input Features parameter of this tool . This parameter is the input linear road features that contain matched pairs of divided road lanes which should be merged together to a single output line feature. This is a required parameter.

Parameters:
inFeatures - the input linear road features that contain matched pairs of divided road lanes which should be merged together to a single output line feature.

getMergeField

public java.lang.Object getMergeField()
Returns the Merge Field parameter of this tool . This parameter is the field that contains road classification information. Only parallel, proximate roads of equal classification will be merged. A value of 0 (zero) locks a feature to prevent it from participating in merging. This is a required parameter.

Returns:
the Merge Field

setMergeField

public void setMergeField(java.lang.Object mergeField)
Sets the Merge Field parameter of this tool . This parameter is the field that contains road classification information. Only parallel, proximate roads of equal classification will be merged. A value of 0 (zero) locks a feature to prevent it from participating in merging. This is a required parameter.

Parameters:
mergeField - the field that contains road classification information. Only parallel, proximate roads of equal classification will be merged. A value of 0 (zero) locks a feature to prevent it from participating in merging.

getMergeDistance

public java.lang.Object getMergeDistance()
Returns the Merge Distance parameter of this tool . This parameter is the minimum distance apart, in the specified units, for equal-class, relatively parallel road features to be merged. This distance must be greater than zero. If the units are in pt, mm, cm, or in, the value is considered as page units and takes into account the reference scale. This is a required parameter.

Returns:
the Merge Distance

setMergeDistance

public void setMergeDistance(java.lang.Object mergeDistance)
Sets the Merge Distance parameter of this tool . This parameter is the minimum distance apart, in the specified units, for equal-class, relatively parallel road features to be merged. This distance must be greater than zero. If the units are in pt, mm, cm, or in, the value is considered as page units and takes into account the reference scale. This is a required parameter.

Parameters:
mergeDistance - the minimum distance apart, in the specified units, for equal-class, relatively parallel road features to be merged. This distance must be greater than zero. If the units are in pt, mm, cm, or in, the value is considered as page units and takes into account the reference scale.

getOutFeatures

public java.lang.Object getOutFeatures()
Returns the Output Features parameter of this tool . This parameter is the output feature class containing single line merged road features and all unmerged road features. This is a required parameter.

Returns:
the Output Features

setOutFeatures

public void setOutFeatures(java.lang.Object outFeatures)
Sets the Output Features parameter of this tool . This parameter is the output feature class containing single line merged road features and all unmerged road features. This is a required parameter.

Parameters:
outFeatures - the output feature class containing single line merged road features and all unmerged road features.

getOutDisplacementFeatures

public java.lang.Object getOutDisplacementFeatures()
Returns the Output Displacement Feature Class parameter of this tool . This parameter is the output polygon features containing the degree and direction of road displacement, to be used by the Propagate Displacement tool to preserve spatial relationships. This is an optional parameter.

Returns:
the Output Displacement Feature Class

setOutDisplacementFeatures

public void setOutDisplacementFeatures(java.lang.Object outDisplacementFeatures)
Sets the Output Displacement Feature Class parameter of this tool . This parameter is the output polygon features containing the degree and direction of road displacement, to be used by the Propagate Displacement tool to preserve spatial relationships. This is an optional parameter.

Parameters:
outDisplacementFeatures - the output polygon features containing the degree and direction of road displacement, to be used by the Propagate Displacement tool to preserve spatial relationships.

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias