esriNAObjectStatus Constants
States for stops or other analysis objects.
Constant |
Value |
Description |
esriNAObjectStatusOK |
0 |
The object does not have any errors. |
esriNAObjectStatusNotLocated |
1 |
The object could not be found on the features. |
esriNAObjectStatusElementNotLocated |
2 |
The object could not be found on the network. |
esriNAObjectStatusElementNotTraversable |
3 |
The object was not traversable. |
esriNAObjectStatusInvalidFieldValues |
4 |
The object contains invalid field data. |
esriNAObjectStatusNotReached |
5 |
The object could not be reached on the network. |
esriNAObjectStatusTimeWindowViolation |
6 |
The object has a time window violation. |
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.
Remarks
The esriNAObjectStatus enumeration is used to specify the valid values for the "Status" field on NAClasses.
- The enumeration value esriNAObjectStatusOK signifies that the NALocationObject does not have any problems.
- The enumeration value esriNAObjectStatusNotLocated signifies that the NALocationObject does not have a valid location on the network. This may occur if the NALocationObject was not within the search tolerance of a feature in the network when an attempt to locate it was made.
- The enumeration value esriNAObjectStatusElementNotLocated signifies that no network element can be found in reference to the NALocationObject. This may occur if the NALocationObject refers to features whose corresponding network element(s) no longer exist in the network dataset.
- The enumeration value esriNAObjectStatusElementNotTraversable signifies that the NALocationObject could not be traversed during analysis. This may occur when the NALocationObject is positioned on the same feature in the network as a Barrier.
- The enumeration value esriNAObjectStatusInvalidFieldValues signifies that the NALocationObject does not have valid values on one or more input fields used during analysis. For example, this would occur if the TimeWindowStart is later than the TimeWindowEnd on a stop.
- The enumeration value esriNAObjectStatusNotReached signifies that the NALocationObject could not be reached during analysis. This may occur if the NALocationObject is on a disconnected portion of the network.
- The enumeration value esriNAObjectStatusTimeWindowViolation signifies that the NALocationObject was not reached during route analysis within the specified time window constraint.