|
|||||||||
| 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.networkanalysttools.MakeRouteLayer
public class MakeRouteLayer
Makes a route network analysis layer and sets its navigation properties. The Make Route Layer tool is contained in the Network Analyst Tools tool box.
Software restrictions: none
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
MakeRouteLayer()
Creates the Make Route Layer tool with defaults. |
|
MakeRouteLayer(Object inNetworkDataset,
String outNetworkAnalysisLayer,
String impedanceAttribute)
Creates the Make Route Layer tool with the required parameters. |
|
| Method Summary | |
|---|---|
Object |
getAccumulateAttributeName()
Returns the Accumulators parameter of this tool . |
String |
getFindBestOrder()
Returns the Reorder stops to find optimal route parameter of this tool . |
String |
getHierarchy()
Returns the Use hierarchy in analysis parameter of this tool . |
Object |
getHierarchySettings()
Returns the Hierarchy rank settings parameter of this tool . |
String |
getImpedanceAttribute()
Returns the Impedance attribute parameter of this tool . |
Object |
getInNetworkDataset()
Returns the Input analysis network parameter of this tool . |
String |
getOrderingType()
Returns the Preserve ordering of stops parameter of this tool . |
String |
getOutNetworkAnalysisLayer()
Returns the Output layer name parameter of this tool . |
Object |
getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). |
String |
getOutputPathShape()
Returns the Output path shape parameter of this tool . |
Object |
getRestrictionAttributeName()
Returns the Restrictions parameter of this tool . |
Object |
getStartDateTime()
Returns the Start Time parameter of this tool . |
String |
getTimeWindows()
Returns the Use time windows 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. |
String |
getUTurnPolicy()
Returns the U-turn policy parameter of this tool . |
void |
setAccumulateAttributeName(Object accumulateAttributeName)
Sets the Accumulators parameter of this tool . |
void |
setFindBestOrder(String findBestOrder)
Sets the Reorder stops to find optimal route parameter of this tool . |
void |
setHierarchy(String hierarchy)
Sets the Use hierarchy in analysis parameter of this tool . |
void |
setHierarchySettings(Object hierarchySettings)
Sets the Hierarchy rank settings parameter of this tool . |
void |
setImpedanceAttribute(String impedanceAttribute)
Sets the Impedance attribute parameter of this tool . |
void |
setInNetworkDataset(Object inNetworkDataset)
Sets the Input analysis network parameter of this tool . |
void |
setOrderingType(String orderingType)
Sets the Preserve ordering of stops parameter of this tool . |
void |
setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
Sets the Output layer name parameter of this tool . |
void |
setOutputPathShape(String outputPathShape)
Sets the Output path shape parameter of this tool . |
void |
setRestrictionAttributeName(Object restrictionAttributeName)
Sets the Restrictions parameter of this tool . |
void |
setStartDateTime(Object startDateTime)
Sets the Start Time parameter of this tool . |
void |
setTimeWindows(String timeWindows)
Sets the Use time windows parameter of this tool . |
void |
setUTurnPolicy(String uTurnPolicy)
Sets the U-turn policy 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 MakeRouteLayer()
Initializes the array of tool parameters with the default values specified when the tool was created.
public MakeRouteLayer(Object inNetworkDataset,
String outNetworkAnalysisLayer,
String impedanceAttribute)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inNetworkDataset - Network Dataset Layer, the network dataset on which the route analysis will be performed.outNetworkAnalysisLayer - String, name of the route network analysis layer being created.impedanceAttribute - String, the cost attribute to be used as impedance in the analysis.| Method Detail |
|---|
public Object getInNetworkDataset()
public void setInNetworkDataset(Object inNetworkDataset)
inNetworkDataset - Network Dataset Layer, the network dataset on which the route analysis will be performed.public String getOutNetworkAnalysisLayer()
public void setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
outNetworkAnalysisLayer - String, name of the route network analysis layer being created.public String getImpedanceAttribute()
public void setImpedanceAttribute(String impedanceAttribute)
impedanceAttribute - String, the cost attribute to be used as impedance in the analysis.public String getFindBestOrder()
public void setFindBestOrder(String findBestOrder)
findBestOrder - String, specifies whether or not to reorder stops to find optimal routes.public String getOrderingType()
public void setOrderingType(String orderingType)
orderingType - String, this parameter affects the ordering of stops when FIND_BEST_ORDER is used.public String getTimeWindows()
public void setTimeWindows(String timeWindows)
timeWindows - String, specifies if time windows will be used at the stops.public Object getAccumulateAttributeName()
public void setAccumulateAttributeName(Object accumulateAttributeName)
accumulateAttributeName - String, list of cost attributes to be accumulated during analysis.public String getUTurnPolicy()
public void setUTurnPolicy(String uTurnPolicy)
uTurnPolicy - String, specifies optional U-turn restrictions.public Object getRestrictionAttributeName()
public void setRestrictionAttributeName(Object restrictionAttributeName)
restrictionAttributeName - String, list of restriction attributes to be honored during analysis.public String getHierarchy()
public void setHierarchy(String hierarchy)
hierarchy - String, specifieswhether or not to use a hierarchy in the analysis.public Object getHierarchySettings()
public void setHierarchySettings(Object hierarchySettings)
hierarchySettings - Network Analyst Hierarchy Settings, sets the hierarchy attribute values at which the navigation algorithm should form the highest, middle, and lowest ranks.
The value is specified as a space-separated string containing two integers whose values must be greater than zero. The integers indicate low-to-mid and mid-to-high break values. The two integers must have their values in increasing order. For example, a value of "6 8" indicates that the primary roads are defined by the values of one to six, secondary roads by seven, and local roads by eight and higher.public String getOutputPathShape()
public void setOutputPathShape(String outputPathShape)
outputPathShape - String, in some situations, it may not be possible to compute the measures, and the lines will be output without measures.public Object getStartDateTime()
public void setStartDateTime(Object startDateTime)
startDateTime - Date, a route can be assigned a start date and time. This option is available only when a time based cost attribute has been selected to solve the route. This start time is used to specify when the route starts. After the solve, the start and end time of the route are populated in the output routes. These start and end times are also used when directions are generated. By default, the start time is 8:00 AM. A date and time can be specified as 10/21/05 10:30 AM. If the route spans multiple days, then the current date is used if it has not been specified.public Object getOutputLayer()
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 | ||||||||