ArcObjects Library Reference (NetworkAnalyst) |
|
esriNAOutputLineType Constants
Options for service area line results.
Constant |
Value |
Description |
esriNAOutputLineNone |
0 |
No polylines are generated. |
esriNAOutputLineStraight |
1 |
Straight polylines between the two endpoints are generated. |
esriNAOutputLineTrueShape |
2 |
Polylines based on the true network feature geometry are generated. |
esriNAOutputLineTrueShapeWithMeasure |
3 |
Polylines based on the true network feature geometry are generated, and measures are added whenever possible. |
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.
Remarks
The esriNAOutputLineType specifies the type of lines generated by the network analyst solvers.
- esriNAOutputLineNone - no lines are generated.
- esriNAOutputLineStraight - straight lines are generated connecting the locations.
- esriNAOutputLineTrueShape - the geometric shape of the computed path is generated.
- esriNAOutputLineShapeWithMeasure - the geometric shape of the computed path is generated and each vertex of the line contains the measure value in terms of the impedance attribute. This type of output lines can be used by linear referencing tools.
.NET Samples
Closest facility solver (Code Files:
frmClosestFacilitySolver) |
Service area solver (Code Files:
frmServiceAreaSolver) |
Location-allocation solver (Code Files:
frmLocationAllocationSolver) |
Vehicle routing problem solver (Code Files:
frmVRPSolver) |
Origin-destination cost matrix solver (Code Files:
frmODCostMatrixSolver) |
Route layer (Code Files:
Program)