com.esri.arcgis.geoprocessing.tools.linearreferencingtools
Class CalibrateRoutes

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

public class CalibrateRoutes
extends AbstractGPTool

Recalculates route measures using points. The Calibrate Routes tool is contained in the Linear Referencing Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
CalibrateRoutes()
          Creates the Calibrate Routes tool with defaults.
CalibrateRoutes(java.lang.Object inRouteFeatures, java.lang.Object routeIdField, java.lang.Object inPointFeatures, java.lang.Object pointIdField, java.lang.Object measureField, java.lang.Object outFeatureClass)
          Creates the Calibrate Routes tool with the required parameters.
 
Method Summary
 java.lang.String getBuildIndex()
          Returns the Build index parameter of this tool .
 java.lang.String getCalibrateMethod()
          Returns the Measure Calculation Method parameter of this tool .
 java.lang.String getExtrapolateAfter()
          Returns the Extrapolate after calibration points parameter of this tool .
 java.lang.String getExtrapolateBefore()
          Returns the Extrapolate before calibration points parameter of this tool .
 java.lang.String getIgnoreGaps()
          Returns the Ignore spatial gaps parameter of this tool .
 java.lang.Object getInPointFeatures()
          Returns the Input Point Features parameter of this tool .
 java.lang.Object getInRouteFeatures()
          Returns the Input Route Features parameter of this tool .
 java.lang.String getInterpolateBetween()
          Returns the Interpolate between calibration points parameter of this tool .
 java.lang.String getKeepAllRoutes()
          Returns the Include all features in the output feature class parameter of this tool .
 java.lang.Object getMeasureField()
          Returns the Measure Field parameter of this tool .
 java.lang.Object getOutFeatureClass()
          Returns the Output Route Feature Class parameter of this tool .
 java.lang.Object getPointIdField()
          Returns the Point Identifier Field parameter of this tool .
 java.lang.Object getRouteIdField()
          Returns the Route Identifier Field parameter of this tool .
 java.lang.Object getSearchRadius()
          Returns the Search Radius 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 setBuildIndex(java.lang.String buildIndex)
          Sets the Build index parameter of this tool .
 void setCalibrateMethod(java.lang.String calibrateMethod)
          Sets the Measure Calculation Method parameter of this tool .
 void setExtrapolateAfter(java.lang.String extrapolateAfter)
          Sets the Extrapolate after calibration points parameter of this tool .
 void setExtrapolateBefore(java.lang.String extrapolateBefore)
          Sets the Extrapolate before calibration points parameter of this tool .
 void setIgnoreGaps(java.lang.String ignoreGaps)
          Sets the Ignore spatial gaps parameter of this tool .
 void setInPointFeatures(java.lang.Object inPointFeatures)
          Sets the Input Point Features parameter of this tool .
 void setInRouteFeatures(java.lang.Object inRouteFeatures)
          Sets the Input Route Features parameter of this tool .
 void setInterpolateBetween(java.lang.String interpolateBetween)
          Sets the Interpolate between calibration points parameter of this tool .
 void setKeepAllRoutes(java.lang.String keepAllRoutes)
          Sets the Include all features in the output feature class parameter of this tool .
 void setMeasureField(java.lang.Object measureField)
          Sets the Measure Field parameter of this tool .
 void setOutFeatureClass(java.lang.Object outFeatureClass)
          Sets the Output Route Feature Class parameter of this tool .
 void setPointIdField(java.lang.Object pointIdField)
          Sets the Point Identifier Field parameter of this tool .
 void setRouteIdField(java.lang.Object routeIdField)
          Sets the Route Identifier Field parameter of this tool .
 void setSearchRadius(java.lang.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

CalibrateRoutes

public CalibrateRoutes()
Creates the Calibrate Routes tool with defaults.

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


CalibrateRoutes

public CalibrateRoutes(java.lang.Object inRouteFeatures,
                       java.lang.Object routeIdField,
                       java.lang.Object inPointFeatures,
                       java.lang.Object pointIdField,
                       java.lang.Object measureField,
                       java.lang.Object outFeatureClass)
Creates the Calibrate Routes 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:
inRouteFeatures - the route features to be calibrated.
routeIdField - the field containing values that uniquely identify each route. This field can be numeric or character.
inPointFeatures - the point features used to calibrate the routes.
pointIdField - the field that identifies the route on which each calibration point is located. The values in this field match those in the route identifier field. This field can be numeric or character.
measureField - the field containing the measure value for each calibration point. This field must be numeric.
outFeatureClass - the feature class to be created. It can be a shapefile or a geodatabase feature class.
Method Detail

getInRouteFeatures

public java.lang.Object getInRouteFeatures()
Returns the Input Route Features parameter of this tool . This parameter is the route features to be calibrated. This is a required parameter.

Returns:
the Input Route Features

setInRouteFeatures

public void setInRouteFeatures(java.lang.Object inRouteFeatures)
Sets the Input Route Features parameter of this tool . This parameter is the route features to be calibrated. This is a required parameter.

Parameters:
inRouteFeatures - the route features to be calibrated.

getRouteIdField

public java.lang.Object getRouteIdField()
Returns the Route Identifier Field parameter of this tool . This parameter is the field containing values that uniquely identify each route. This field can be numeric or character. This is a required parameter.

Returns:
the Route Identifier Field

setRouteIdField

public void setRouteIdField(java.lang.Object routeIdField)
Sets the Route Identifier Field parameter of this tool . This parameter is the field containing values that uniquely identify each route. This field can be numeric or character. This is a required parameter.

Parameters:
routeIdField - the field containing values that uniquely identify each route. This field can be numeric or character.

getInPointFeatures

public java.lang.Object getInPointFeatures()
Returns the Input Point Features parameter of this tool . This parameter is the point features used to calibrate the routes. This is a required parameter.

Returns:
the Input Point Features

setInPointFeatures

public void setInPointFeatures(java.lang.Object inPointFeatures)
Sets the Input Point Features parameter of this tool . This parameter is the point features used to calibrate the routes. This is a required parameter.

Parameters:
inPointFeatures - the point features used to calibrate the routes.

getPointIdField

public java.lang.Object getPointIdField()
Returns the Point Identifier Field parameter of this tool . This parameter is the field that identifies the route on which each calibration point is located. The values in this field match those in the route identifier field. This field can be numeric or character. This is a required parameter.

Returns:
the Point Identifier Field

setPointIdField

public void setPointIdField(java.lang.Object pointIdField)
Sets the Point Identifier Field parameter of this tool . This parameter is the field that identifies the route on which each calibration point is located. The values in this field match those in the route identifier field. This field can be numeric or character. This is a required parameter.

Parameters:
pointIdField - the field that identifies the route on which each calibration point is located. The values in this field match those in the route identifier field. This field can be numeric or character.

getMeasureField

public java.lang.Object getMeasureField()
Returns the Measure Field parameter of this tool . This parameter is the field containing the measure value for each calibration point. This field must be numeric. This is a required parameter.

Returns:
the Measure Field

setMeasureField

public void setMeasureField(java.lang.Object measureField)
Sets the Measure Field parameter of this tool . This parameter is the field containing the measure value for each calibration point. This field must be numeric. This is a required parameter.

Parameters:
measureField - the field containing the measure value for each calibration point. This field must be numeric.

getOutFeatureClass

public java.lang.Object getOutFeatureClass()
Returns the Output Route Feature Class parameter of this tool . This parameter is the feature class to be created. It can be a shapefile or a geodatabase feature class. This is a required parameter.

Returns:
the Output Route Feature Class

setOutFeatureClass

public void setOutFeatureClass(java.lang.Object outFeatureClass)
Sets the Output Route Feature Class parameter of this tool . This parameter is the feature class to be created. It can be a shapefile or a geodatabase feature class. This is a required parameter.

Parameters:
outFeatureClass - the feature class to be created. It can be a shapefile or a geodatabase feature class.

getCalibrateMethod

public java.lang.String getCalibrateMethod()
Returns the Measure Calculation Method parameter of this tool . This parameter is specifies how route measures will be recalculated. This is an optional parameter.

Returns:
the Measure Calculation Method

setCalibrateMethod

public void setCalibrateMethod(java.lang.String calibrateMethod)
Sets the Measure Calculation Method parameter of this tool . This parameter is specifies how route measures will be recalculated. This is an optional parameter.

Parameters:
calibrateMethod - specifies how route measures will be recalculated.

getSearchRadius

public java.lang.Object getSearchRadius()
Returns the Search Radius parameter of this tool . This parameter is limits how far a calibration point can be from a route by specifying the distance and its unit of measure. If the units of measure are Unknown, the same units as the coordinate system of the route feature class will be used. This is an optional parameter.

Returns:
the Search Radius

setSearchRadius

public void setSearchRadius(java.lang.Object searchRadius)
Sets the Search Radius parameter of this tool . This parameter is limits how far a calibration point can be from a route by specifying the distance and its unit of measure. If the units of measure are Unknown, the same units as the coordinate system of the route feature class will be used. This is an optional parameter.

Parameters:
searchRadius - limits how far a calibration point can be from a route by specifying the distance and its unit of measure. If the units of measure are Unknown, the same units as the coordinate system of the route feature class will be used.

getInterpolateBetween

public java.lang.String getInterpolateBetween()
Returns the Interpolate between calibration points parameter of this tool . This parameter is specifies whether measure values will be interpolated between the calibration points. This is an optional parameter.

Returns:
the Interpolate between calibration points

setInterpolateBetween

public void setInterpolateBetween(java.lang.String interpolateBetween)
Sets the Interpolate between calibration points parameter of this tool . This parameter is specifies whether measure values will be interpolated between the calibration points. This is an optional parameter.

Parameters:
interpolateBetween - specifies whether measure values will be interpolated between the calibration points.

getExtrapolateBefore

public java.lang.String getExtrapolateBefore()
Returns the Extrapolate before calibration points parameter of this tool . This parameter is specifies whether measure values will be extrapolated before the calibration points. This is an optional parameter.

Returns:
the Extrapolate before calibration points

setExtrapolateBefore

public void setExtrapolateBefore(java.lang.String extrapolateBefore)
Sets the Extrapolate before calibration points parameter of this tool . This parameter is specifies whether measure values will be extrapolated before the calibration points. This is an optional parameter.

Parameters:
extrapolateBefore - specifies whether measure values will be extrapolated before the calibration points.

getExtrapolateAfter

public java.lang.String getExtrapolateAfter()
Returns the Extrapolate after calibration points parameter of this tool . This parameter is specifies whether measure values will be extrapolated after the calibration points. This is an optional parameter.

Returns:
the Extrapolate after calibration points

setExtrapolateAfter

public void setExtrapolateAfter(java.lang.String extrapolateAfter)
Sets the Extrapolate after calibration points parameter of this tool . This parameter is specifies whether measure values will be extrapolated after the calibration points. This is an optional parameter.

Parameters:
extrapolateAfter - specifies whether measure values will be extrapolated after the calibration points.

getIgnoreGaps

public java.lang.String getIgnoreGaps()
Returns the Ignore spatial gaps parameter of this tool . This parameter is specifies whether spatial gaps will be ignored when recalculating the measures on disjointed routes. This is an optional parameter.

Returns:
the Ignore spatial gaps

setIgnoreGaps

public void setIgnoreGaps(java.lang.String ignoreGaps)
Sets the Ignore spatial gaps parameter of this tool . This parameter is specifies whether spatial gaps will be ignored when recalculating the measures on disjointed routes. This is an optional parameter.

Parameters:
ignoreGaps - specifies whether spatial gaps will be ignored when recalculating the measures on disjointed routes.

getKeepAllRoutes

public java.lang.String getKeepAllRoutes()
Returns the Include all features in the output feature class parameter of this tool . This parameter is specifies whether route features that do not have any calibration points will be excluded from the output feature class. This is an optional parameter.

Returns:
the Include all features in the output feature class

setKeepAllRoutes

public void setKeepAllRoutes(java.lang.String keepAllRoutes)
Sets the Include all features in the output feature class parameter of this tool . This parameter is specifies whether route features that do not have any calibration points will be excluded from the output feature class. This is an optional parameter.

Parameters:
keepAllRoutes - specifies whether route features that do not have any calibration points will be excluded from the output feature class.

getBuildIndex

public java.lang.String getBuildIndex()
Returns the Build index parameter of this tool . This parameter is specifies whether an attribute index will be created for the route identifier field that is written to the Output Route Feature Class. This is an optional parameter.

Returns:
the Build index

setBuildIndex

public void setBuildIndex(java.lang.String buildIndex)
Sets the Build index parameter of this tool . This parameter is specifies whether an attribute index will be created for the route identifier field that is written to the Output Route Feature Class. This is an optional parameter.

Parameters:
buildIndex - specifies whether an attribute index will be created for the route identifier field that is written to the Output Route Feature Class.

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