LastMileDelivery output data types
The output data types containing the results from a last mile delivery analysis are described below.
Orders
The output is a copy of the input Orders table with additional information about which route served each order, the arrival and departure times, and the order sequence.
The output Orders table includes all fields from the input Orders table. Fields that are updated or added to the output are listed in the following table:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The object ID of the feature. |
ObjectID |
|
|
The name of the route to which the order is assigned. This field corresponds to the |
Text |
|
|
This indicates the sequence of the order on its assigned route. Output sequence values for a route are shared across depot visits and orders. The sequences start from 0 at the starting depot and are consecutive. The smallest possible output sequence value for a routed order is 1. This is the case even if the route begins at a virtual depot. |
Long |
|
These fields contain a summary of violated constraints and are set after a solve operation. Each field will contain one violation. If an order has more than one violation, the next
Learn more about troubleshooting network analyses Note:The violated constraint field value of an unrouted order may or may not describe all its violations. If the violation is severe enough to immediately exclude the order from further consideration, the solver does so, which prevents any other violations from being discovered for that order. If a violation is encountered that doesn't automatically stop a solution from being generated, the violation is noted in violated constraint fields, and the solver continues to consider the order. Any further violations such as these are added to the violated constraint fields until either the solver finds a violation that prematurely stops the solve process for that particular order, or the solver finds an overall solution to the problem. |
Long |
|
|
The elapsed travel time from the previous stop to the current stop. The value is in the units specified by the |
Double |
|
|
The distance along the route from the previous stop to the current stop. The value is in the units specified by the |
Double |
|
|
The side of the vehicle the curb is on when arriving at the stop. A value of 1 means the right side of the vehicle; a value of 2 means the left side. |
Long |
|
|
The side of the vehicle the curb is on when departing from the stop. A value of 1 means the right side of the vehicle; a value of 2 means the left side. |
Long |
|
|
The time of day the route arrives at the order. The route may arrive at the order before the beginning of the order's time window, in which case there is a wait time at the order. For an order with a soft time window, the route may also arrive at the order after the end of the time window, in which case there is a violation time at the order. This arrival time reflects the travel times that were used during the optimization by the solver. For a network with traffic data, traffic conditions for specific times of day are not used; rather, the solver uses the time neutral average travel times for this optimization phase. The time zone for the |
Timestamp Offset |
|
|
The time of day the route departs from the order. The route departs from the order upon completion of service. This departure time reflects the travel times that were used during the optimization by the solver. For a network with traffic data, traffic conditions for specific times of day are not used; rather, the solver uses the time neutral average travel times for this optimization phase. The time zone for the |
Timestamp Offset |
|
|
The wait time or layover at the order. For example, a wait time is incurred when a route must wait at an order for a time window to open. The value is in the units specified by the |
Double |
|
|
The amount of time elapsed from the end of the order's time window to the arrival of the route vehicle. The value is in the units specified by the |
Double |
|
|
Specifies the status of the point with respect to its location on the network and the outcome of the analysis. The possible values are the following:
|
Long |
|
Network location fields
|
Together, these properties describe the point on the network where the object is located. |
Depots
The output is a copy of the input Depots table with additional information about how the depots were located on the network.
The output Depots table includes all fields from the input Depots table. Only fields that are added to the output are listed in the following table:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The object ID of the feature. |
ObjectID |
|
|
Specifies the status of the point with respect to its location on the network and the outcome of the analysis. The possible values are the following:
|
Long |
|
Network location fields
|
Together, these properties describe the point on the network where the object is located. |
DepotVisits
When a route starts or ends at a depot, a depot visit is created. Depot visits provide information regarding why a route visited a depot and what happened there. The quantity of goods loaded on or unloaded from a vehicle at the depot is recorded in the properties of a depot visit. Additional information that is useful in interpreting the analysis solution is also included.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The object ID of the feature. |
ObjectID |
|
|
The name of the visited depot. This field is a foreign key to the If the route uses a virtual depot, which means the route starts or ends at an order instead of a depot, |
Text |
|
|
The reason the depot was visited. This field is constrained by a domain of values:
|
Long |
|
|
The name of the route containing this visit. This field is a foreign key to the |
Text |
|
|
The sequence of the visited depot on the route. Output sequence values for a route are shared across depot visits and orders. The sequences start from 0 at the starting depot and are consecutive. |
Long |
|
|
The service time (such as loading or unloading) at the depot. The value is in the units specified by the |
Double |
|
|
The travel time from the preceding visit on the route to the depot. The value is in the units specified by the |
Double |
|
|
The travel distance from the preceding visit on the route to the depot. The value is in the units specified by the |
Double |
|
|
The arrival time at the depot. The arrival time reflects the travel times that were used during the optimization by the solver. For a network with traffic data, traffic conditions for specific times of day are not used; rather, the solver uses the time neutral average travel times for this optimization phase. The time zone for the |
Timestamp Offset |
|
|
The departure time from the depot. The departure time reflects the travel times that were used during the optimization by the solver. For a network with traffic data, traffic conditions for specific times of day are not used; rather, the solver uses the time neutral average travel times for this optimization phase. The time zone for the |
Timestamp Offset |
|
The amount (for example, volume, weight, quantity) being loaded at the depot. If there are multiple capacities, the amounts in the |
Double |
|
The amount (for example, volume, weight, quantity) being unloaded at the depot. If there are multiple capacities, the amounts in the |
Double |
Routes
This provides access to the drivers, vehicles, and route paths of the last mile delivery analysis.
The output Routes table includes all fields from the input Routes table as well as additional fields describing how each route serviced the orders. Only fields that are added to the output are listed below.
|
Field name |
Description |
Data type |
|---|---|---|
|
|
The object ID of the feature. |
ObjectID |
|
Describes constraints violated by the route. The constraints are given as integers as described in the following list:
|
Long |
|
|
The number of orders assigned to the route. |
Long |
|
|
The total operating cost of the route, which is the sum of the following field values: |
Double |
|
|
The cost of regular work time. |
Double |
|
|
The cost of overtime work. |
Double |
|
|
The distance cost component obtained by multiplying the |
Double |
|
|
The total route duration. This includes travel times as well as service and wait times at orders and depots. The
The value is in the units specified by the |
Double |
|
|
The total service time spent at all orders on the route. The value is in the units specified by the |
Double |
|
|
The total travel time for the route. The value is in the units specified by the |
Double |
|
|
The total travel distance for the route. The value is in the units specified by the |
Double |
|
|
The starting time of the route. The time zone for the |
Timestamp Offset |
|
|
The ending time of the route. The route ends upon completion of service at the ending depot. The time zone for the |
Timestamp Offset |
|
|
The total wait time at all orders and depots on the route. The value is in the units specified by the |
Double |
|
|
The total violation time at all orders on the route. The value is in the units specified by the |
Double |
DirectionPoints
This is the output turn-by-turn directions for the routes calculated in the analysis, represented as point locations along the routes where specific direction events or maneuvers occur.
|
Field name |
Description |
Data type |
|---|---|---|
|
|
The object ID of the feature. |
ObjectID |
|
|
The |
Long |
|
|
The sequence of the direction points for the route, starting with 1. |
Long |
|
|
Specifies the type of direction event or maneuver described by the point, designated by one of the values below.
|
Long |
|
|
The |
Long |
|
|
The |
Long |
|
|
Note:This field is not used for last mile delivery analyses. |
Long |
|
|
The directions text that will be displayed in the consuming application. |
Text |
|
|
The time the direction event occurs in coordinated universal time (UTC). |
Date |
|
|
The difference in minutes between the local time at the maneuver location and UTC time shown in the |
Double |
|
|
The name of the direction point. |
Text |
|
|
The highway exit name that appears in the directions instruction. |
Text |
|
|
The alternate source name that appears in the directions instruction. |
Text |
|
|
The name of the intersecting or cross street that appears in the directions instruction. |
Text |
|
|
The signpost branch name that appears in the directions instruction. |
Text |
|
|
The signpost toward destination name that appears in the directions instruction. |
Text |
|
|
The building level at which this direction event occurs. This value corresponds to the |
Long |
|
|
The short text that will be used as voice guidance text in the consuming application. |
Text |
|
|
The additional text, including expanded abbreviations and plurals, that will be used as voice guidance text in the consuming application. |
Text |
|
|
The bearing in degrees of the vehicle departing this point. Zero indicates north. |
Double |
DirectionLines
This is the output route lines calculated in the analysis sliced to represent each route segment between DirectionPoints events or maneuver locations.
|
Field name |
Description |
Data type |
|---|---|---|
|
|
The object ID of the feature. |
ObjectID |
|
|
The |
Long |
|
|
The |
Long |
|
|
Specifies the type of direction situation described by this line, designated by one of the following values:
|
Long |
|
|
The length of the line segment measured in meters. |
Double |
|
|
The travel time along the line segment in minutes. |
Double |
|
|
The building level at which this direction event begins. This value corresponds to the Learn more about the directions configuration of a network dataset |
Long |
|
|
The building level at which this direction event ends. This value corresponds to the |
Long |