|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.networkanalysttools.Directions
public class Directions
Generates direction information from a network analysis layer with routes. The direction information is written to a file in either XML or text format. The Directions tool is contained in the Network Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
Directions()
Creates the Directions tool with defaults. |
|
Directions(Object inNetworkAnalysisLayer,
String fileType,
Object outDirectionsFile,
String reportUnits)
Creates the Directions tool with the required parameters. |
Method Summary | |
---|---|
String |
getFileType()
Returns the Output file type parameter of this tool . |
Object |
getInNetworkAnalysisLayer()
Returns the Input network analysis layer parameter of this tool . |
Object |
getOutDirectionsFile()
Returns the Output directions file parameter of this tool . |
Object |
getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). |
String |
getReportTime()
Returns the Report travel time parameter of this tool . |
String |
getReportUnits()
Returns the Report length in these units parameter of this tool . |
String |
getTimeAttribute()
Returns the Time attribute 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 |
setFileType(String fileType)
Sets the Output file type parameter of this tool . |
void |
setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
Sets the Input network analysis layer parameter of this tool . |
void |
setOutDirectionsFile(Object outDirectionsFile)
Sets the Output directions file parameter of this tool . |
void |
setReportTime(String reportTime)
Sets the Report travel time parameter of this tool . |
void |
setReportUnits(String reportUnits)
Sets the Report length in these units parameter of this tool . |
void |
setTimeAttribute(String timeAttribute)
Sets the Time attribute 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 Directions()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Directions(Object inNetworkAnalysisLayer, String fileType, Object outDirectionsFile, String reportUnits)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inNetworkAnalysisLayer
- network analysis layer from which directions will be generated. Directions can be generated only for the Route, Closest Facility, and Vehicle Routing Problem network analysis layers.fileType
- the format of the output directions file.outDirectionsFile
- the full pathname to the directions file that will be written.reportUnits
- specifies the linear units in which the length information will be reported in the directions file. For example, even though your impedance was in meters, you can show directions in miles.Method Detail |
---|
public Object getInNetworkAnalysisLayer()
public void setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
inNetworkAnalysisLayer
- network analysis layer from which directions will be generated. Directions can be generated only for the Route, Closest Facility, and Vehicle Routing Problem network analysis layers.public String getFileType()
public void setFileType(String fileType)
fileType
- the format of the output directions file.public Object getOutDirectionsFile()
public void setOutDirectionsFile(Object outDirectionsFile)
outDirectionsFile
- the full pathname to the directions file that will be written.public String getReportUnits()
public void setReportUnits(String reportUnits)
reportUnits
- specifies the linear units in which the length information will be reported in the directions file. For example, even though your impedance was in meters, you can show directions in miles.public String getReportTime()
public void setReportTime(String reportTime)
reportTime
- nullpublic String getTimeAttribute()
public void setTimeAttribute(String timeAttribute)
timeAttribute
- the time-based cost attribute providing the travel times in the directions. The cost attribute must exist on the network dataset used by the input network analysis layer.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 |