VehicleRoutingProblem input data types for schema version One
The input data types that can be specified when performing a vehicle routing problem (VRP) analysis using the VehicleRoutingProblemSchemaVersion.One schema version are described below.
Orders
One or more locations that the routes of the VRP analysis will visit. An order can represent a delivery (for example, furniture delivery), a pickup (such as an airport shuttle bus picking up a passenger), or some type of service or inspection (a tree trimming job or building inspection, for example).
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the order. The name must be unique. If the name is left null, a name is automatically generated at solve time. |
Text |
|
|
The descriptive information about the order. This can contain any textual information for the order and has no restrictions for uniqueness. You can store a client's ID number in the |
Text |
|
|
The amount of time that will be spent at the network location when the route visits it; that is, the impedance value for the network location. A zero or null value indicates that the network location requires no service time. The unit for this field value is specified by the |
Double |
|
|
The beginning time of the first time window for the network location. This field can contain a null value; a null value indicates no beginning time. A time window only states when a vehicle can arrive at an order; it doesn't state when the service time must be completed. To account for service time and departure before the time window ends, subtract the The time window fields ( The value for this attribute can be specified using a The time zone for the value is specified by the |
Date |
|
|
The end time of the first window for the network location. This field can contain a null value; a null value indicates no end time. |
Date |
|
|
The beginning time of the second time window for the network location. This field can contain a null value; a null value indicates that there is no second time window. If the first time window is null as specified by the If both time windows are not null, they can't overlap. Also, the second time window must occur after the first. |
Date |
|
|
The end time of the second time window for the network location. This field can contain a null value. When When |
Date |
|
|
A time window is considered violated if the arrival time occurs after the time window has ended. This field specifies the maximum allowable violation time for the first time window of the order. It can contain a zero value but can't contain negative values. A zero value indicates that a time window violation at the first time window of the order is unacceptable; that is, the first time window is hard. Conversely, a null value indicates that there is no limit on the allowable violation time. A nonzero value specifies the maximum amount of lateness; for example, a route can arrive at an order up to 30 minutes beyond the end of its first time window. The unit for this field value is specified by the Time window violations can be tracked and weighted by the solver. Consequently, you can direct the VRP solver to do one of the following:
By assigning an importance level for the |
Double |
|
|
The maximum allowable violation time for the second time window of the order. This field is analogous to the |
Double |
|
|
Defines when the item to be delivered to the order will be ready at the starting depot. The order can be assigned to a route only if the inbound arrive time precedes the route's latest start time value; this way, the route cannot leave the depot before the item is ready to be loaded onto it. This field can help model scenarios involving inbound-wave transshipments. For example, a job at an order requires special materials that are not currently available at the depot. The materials are being shipped from another location and will arrive at the depot at 11:00 a.m. To ensure a route that leaves before the shipment arrives isn't assigned to the order, the order's inbound arrive time is set to 11:00 a.m. The special materials arrive at 11:00 a.m., they are loaded onto the vehicle, and the vehicle departs from the depot to visit its assigned orders. Notes:
|
Date |
|
|
Defines when the item to be picked up at the order must arrive at the ending depot. The order can be assigned to a route only if the route can visit the order and reach its end depot before the specified outbound depart time. This field can help model scenarios involving outbound-wave transshipments. For instance, a shipping company sends out delivery trucks to pick up packages from orders and bring them into a depot where they are forwarded on to other facilities, en route to their final destination. At 3:00 p.m. every day, a semitrailer stops at the depot to pick up the high-priority packages and take them directly to a central processing station. To avoid delaying the high-priority packages until the next day's 3:00 p.m. trip, the shipping company tries to have delivery trucks pick up the high-priority packages from orders and bring them to the depot before the 3:00 p.m. deadline. This is done by setting the outbound depart time to 3:00 p.m. Notes:
|
Date |
|
|
The size of the delivery. You can specify size in any dimension, such as weight, volume, or quantity. You can also specify multiple dimensions, for example, weight and volume. Enter delivery quantities without indicating units. For example, if a 300-pound object needs to be delivered to an order, enter 300. You will need to remember that the value is in pounds. If you are tracking multiple dimensions, separate the numeric values with a space. For example, if you are recording the weight and volume of a delivery that weighs 2,000 pounds and has a volume of 100 cubic feet, enter 2000 100. Again, you need to remember the units—in this case, pounds and cubic feet. You also need to remember the sequence in which the values and their corresponding units are entered. Ensure that the values for An empty string or null value is equivalent to all dimensions being infinity. If the string has an insufficient number of values in relation to the capacity count or dimensions being tracked, the remaining values are treated as infinity. Delivery quantities can't be negative. |
Text |
|
|
The size of the pickup. You can specify size in any dimension, such as weight, volume, or quantity. You can also specify multiple dimensions, for example, weight and volume. You cannot, however, use negative values. This field is analogous to the In the case of an exchange visit, an order can have both delivery and pickup quantities. |
Text |
|
|
The income generated if the order is included in a solution. This field can contain a null value—a null value indicates zero revenue—but it can't have a negative value. Revenue is included in optimizing the objective function value but is not part of the solution's operating cost; that is, the |
Double |
|
|
A space-separated string containing the names of the specialties required by the order. A null value indicates that the order doesn't require specialties. The spelling of any specialties listed in the Orders and Routes classes must match exactly so that the VRP solver can link them together. To illustrate what specialties are and how they work, a lawn care and tree trimming company has a portion of its orders that requires a bucket truck to trim tall trees. The company enters BucketTruck in the |
Text |
|
|
Specifies the rule for assigning the order to a route. The field value is specified as one of the following integers (use the numeric code, not the name in parentheses):
This field can't contain a null value. |
Long |
|
|
The name of the route to which the order is assigned. This field is used to preassign an order to a specific route. It can contain a null value, indicating that the order is not preassigned to any route, and the solver identifies the best possible route assignment for the order. If this is set to null, the After a solve operation, if the order is routed, the |
Text |
|
|
This indicates the sequence of the order on its assigned route. This field is used to specify the relative sequence of an order on the route. This field can contain a null value specifying that the order can be placed anywhere along the route. The input sequence values are positive and unique for each route (shared across renewal depot visits, orders, and breaks) but do not need to start from 1 or be contiguous. |
Long |
|
|
Specifies the direction a vehicle may arrive at and depart from the order. The field value is specified as one of the following integers (use the numeric code, not the name in parentheses):
The |
Long |
|
|
The direction in which a point is moving. The units are degrees and are measured clockwise from true north. This field is used in conjunction with the Bearing data is usually sent automatically from a mobile device equipped with a GPS receiver. Try to include bearing data if you are loading an input location that is moving, such as a pedestrian or a vehicle. Using this field tends to prevent adding locations to the wrong edges, which can occur when a vehicle is near an intersection or an overpass, for example. Bearing also helps the tool determine on which side of the street the point is. |
Double |
|
|
The bearing tolerance value creates a range of acceptable bearing values when locating moving points on an edge using the The units are in degrees, and the default value is 30. Values must be greater than 0 and less than 180. A value of 30 means that when Network Analyst attempts to add a network location on an edge, a range of acceptable bearing values is generated 15 degrees to either side of the edge (left and right) and in both digitized directions of the edge. |
Double |
|
|
This field is only used in the solve process if the The time units of |
Double |
|
Network location fields
|
Together, these properties describe the point on the network where the object is located. |
Depots
Specifies one or more depots for the given vehicle routing problem. A depot is a location that a vehicle departs from at the beginning of its workday and returns to at the end of the workday. Vehicles are loaded (for deliveries) or unloaded (for pickups) at depots. In some cases, a depot can also act as a renewal location where the vehicle can unload or reload and continue performing deliveries and pickups. A depot has open and close times, as specified by a hard time window. Vehicles can't arrive at a depot outside of this time window.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the depot. The Depot names are not case sensitive but must be unique and not empty. |
Text |
|
|
The descriptive information about the depot location. This can contain any textual information and has no restrictions for uniqueness. For example, to note the region a depot is in or the depot's address and telephone number, you can enter the information here rather than in the |
Text |
|
|
The beginning time of the first time window for the network location. This field can contain a null value; a null value indicates no beginning time. The time window fields ( The value for this attribute can be specified using a The time zone for the value is specified by the |
Date |
|
|
The end time of the first window for the network location. This field can contain a null value; a null value indicates no end time. |
Date |
|
|
The beginning time of the second time window for the network location. This field can contain a null value; a null value indicates that there is no second time window. If the first time window is null, as specified by the If both time windows are not null, they can't overlap. Also, the second time window must occur after the first. |
Date |
|
|
The end time of the second time window for the network location. This field can contain a null value. When When |
Date |
|
|
Specifies the direction a vehicle may arrive at and depart from the depot. The field value is specified as one of the following integers shown in parentheses (use the numeric code, not the name in parentheses):
The |
Long |
|
|
The direction in which a point is moving. The units are degrees and are measured clockwise from true north. This field is used in conjunction with the Bearing data is usually sent automatically from a mobile device equipped with a GPS receiver. Try to include bearing data if you are loading an input location that is moving, such as a pedestrian or a vehicle. Using this field tends to prevent adding locations to the wrong edges, which can occur when a vehicle is near an intersection or an overpass, for example. Bearing also helps the tool determine on which side of the street the point is. |
Double |
|
|
The bearing tolerance value creates a range of acceptable bearing values when locating moving points on an edge using the The units are in degrees, and the default value is 30. Values must be greater than 0 and less than 180. A value of 30 means that when Network Analyst attempts to add a network location on an edge, a range of acceptable bearing values is generated 15 degrees to either side of the edge (left and right) and in both digitized directions of the edge. |
Double |
|
|
This field is only used in the solve process if the The time units of |
Double |
|
Network location fields
|
Together, these properties describe the point on the network where the object is located. |
Routes
Specifies one or more routes that describe vehicle and driver characteristics. A route can have start and end depot service times, a fixed or flexible start time, time-based operating costs, distance-based operating costs, multiple capacities, various constraints on a driver's workday, and so on.
Note:
Unlike other data types, such as Orders and Depots, this data type is a table and does not include any location information.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the route. The name must be unique. The tool generates a unique name at solve time if the field value is null; entering a value is optional in most cases. However, you must enter a name if the analysis includes breaks, route renewals, route zones, or orders that are preassigned to a route because the route name is used as a foreign key in these cases. Route names are not case sensitive. |
Text |
|
|
The descriptive information about the route. This can contain any textual information and does not need to be unique. |
Text |
|
|
The name of the starting depot for the route. This field is a foreign key to the If the Virtual start depots are not allowed if orders or depots are in multiple time zones. If the route is making deliveries and |
Text |
|
|
The name of the ending depot for the route. This field is a foreign key to the |
Text |
|
|
The service time at the starting depot. This can be used to model the time spent loading the vehicle. This field can contain a null value; a null value indicates zero service time. The unit for this field value is specified by the The service times at the start and end depots are fixed values (the |
Double |
|
|
The service time at the ending depot. This can be used to model the time spent unloading the vehicle. This field can contain a null value; a null value indicates zero service time. The unit for this field value is specified by the The service times at the start and end depots are fixed values (the |
Double |
|
|
The earliest allowable start time for the route. This is used by the solver in conjunction with the time window of the starting depot for determining feasible route start times. This field can't contain null values and has a default time-only value of 8:00 AM. The default value is interpreted as 8:00 a.m. on the default date set for the analysis. The value for this attribute can be specified using a The time zone for the value is specified by the |
Date |
|
|
The latest allowable start time for the route. This field can't contain null values and has a default time-only value of 10:00 AM. The default value is interpreted as 10:00 a.m. on the default date set for the analysis. The value for this attribute can be specified using a The time zone for the value is specified by the |
Date |
|
|
This field stores the amount of travel time needed to accelerate the vehicle to normal travel speeds, decelerate it to a stop, and move it off and on the network (for example, in and out of parking). By including an The cost for this property is incurred between visits to noncoincident orders, depots, and route renewals. For example, when a route starts from a depot and visits the first order, the total arrive/depart delay is added to the travel time. The same is true when traveling from the first order to the second order. If the second and third orders are coincident, the Although a vehicle must slow down and stop for a break and accelerate afterward, the VRP solver cannot add the For example, there are five coincident orders in a high-rise building, and they are serviced by three different routes. This means three arrive/depart delays are incurred; that is, three drivers need to separately find parking places and enter the same building. However, if the orders can be serviced by one route instead, only one driver needs to park and enter the building, and only one arrive/depart delay is incurred. Since the VRP solver tries to minimize cost, it attempts to limit the arrive/depart delays and identify the single-route option. (Multiple routes may need to be sent when other constraints—such as specialties, time windows, or capacities—require it.) The unit for this field value is specified by the |
Double |
|
|
The maximum capacity of the vehicle. You can specify capacity in any dimension, such as weight, volume, or quantity. You can also specify multiple dimensions, for example, weight and volume. Enter capacities without indicating units. For example, if the vehicle can carry a maximum of 40,000 pounds, enter 40000. You need to remember that the value is in pounds. If you are tracking multiple dimensions, separate the numeric values with a space. For example, if you are recording both weight and volume and the vehicle can carry a maximum weight of 40,000 pounds and a maximum volume of 2,000 cubic feet, enter the Remembering the units and the unit sequence is important for a couple of reasons: first, so you can reinterpret the information later; second, so you can properly enter values for the An empty string or null value is equivalent to infinity. Capacity values can't be negative. If the The VRP solver only performs a simple Boolean test to determine whether capacities are exceeded. If a route's capacity value is greater than or equal to the total quantity being carried, it is assumed that the cargo fits in the vehicle. This may be incorrect, depending on the actual shape of the cargo and the vehicle. For example, the VRP solver allows you to fit a 1,000-cubic-foot sphere into a 1,000-cubic-foot truck that is 8 feet wide. In reality, however, since the sphere is 12.6 feet in diameter, it won't fit in the 8-foot wide truck. |
Text |
|
|
A fixed monetary cost that is incurred only if the route is used in a solution (that is, it has orders assigned to it). This field can contain null values; a null value indicates zero fixed cost. This cost is part of the total route operating cost. |
Double |
|
|
The monetary cost incurred—per unit of work time—for the total route duration, including travel times as well as service times and wait times at orders, depots, and breaks. This field can't contain a null value and has a default value of 1.0. The unit for this field value is specified by the |
Double |
|
|
The monetary cost incurred—per unit of distance traveled—for the route length (total travel distance). This field can contain null values; a null value indicates zero cost. The unit for this field value is specified by the |
Double |
|
|
The duration of regular work time before overtime computation begins. This field can contain null values; a null value indicates that overtime does not apply. The unit for this field value is specified by the For example, if the driver is to be paid overtime when the total route duration extends beyond eight hours, |
Double |
|
|
The monetary cost incurred per time unit of overtime work. This field can contain null values; a null value indicates that the |
Double |
|
|
The maximum allowable number of orders on the route. This field can't contain null values and has a default value of 30. |
Long |
|
|
The maximum allowable route duration. The route duration includes travel times as well as service and wait times at orders, depots, and breaks. This field can contain null values; a null value indicates that there is no constraint on the route duration. The unit for this field value is specified by the |
Double |
|
|
The maximum allowable travel time for the route. The travel time includes only the time spent driving on the network and does not include service or wait times. This field can contain null values; a null value indicates that there is no constraint on the maximum allowable travel time. This field value can't be larger than the The unit for this field value is specified by the |
Double |
|
|
The maximum allowable travel distance for the route. The unit for this field value is specified by the This field can contain null values; a null value indicates that there is no constraint on the maximum allowable travel distance. |
Double |
|
|
A space-separated string containing the names of the specialties supported by the route. A null value indicates that the route does not support any specialties. This field is a foreign key to the To illustrate what specialties are and how they work, a lawn care and tree trimming company has a portion of its orders that requires a bucket truck to trim tall trees. The company enters BucketTruck in the |
Text |
|
|
Specifies whether the route can be used when solving the problem. This field is constrained by a domain of values that are listed below (use the numeric code, not the name in parentheses).
|
Long |
Breaks
The rest periods, or breaks, for the routes in a given vehicle routing problem. A break is associated with exactly one route and can be taken after completing an order, while en route to an order, or prior to servicing an order. It has a start time and a duration for which the driver may or may not be paid. There are three options for establishing when a break begins: a time window, a maximum travel time, or a maximum work time.
Unlike other data types, such as Orders or Depots, this data type is a table and does not include any location information.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the route to which the break applies. Although a break is assigned to exactly one route, many breaks can be assigned to the same route. This field is a foreign key to the |
Text |
|
|
Precedence values sequence the breaks of a given route. Breaks with a precedence value of 1 occur before those with a value of 2, and so on. All breaks must have a precedence value, regardless of whether they are time-window, maximum-travel-time, or maximum-work-time breaks. |
Long |
|
|
The duration of the break. This field can't contain null values. The default value is 60. The unit for this field value is specified by the |
Double |
|
|
The start time of the break's time window. Both a start time and an end time must be specified. If this field has a value, the An error will occur at solve time if a route has multiple breaks with overlapping time windows. The time window fields in breaks can contain a time-only value or a date and time value. If a time field, such as The value for this attribute can be specified using a The time zone for the value is specified by the |
Date |
|
|
The end time of the break's time window. Both a start time and an end time must be specified. If this field has a value, The value for this attribute can be specified using a The time zone for the value is specified by the |
Date |
|
|
This field specifies the maximum allowable violation time for a time-window break. A time window is considered violated if the arrival time falls outside the time range. A zero value indicates that the time window cannot be violated; that is, the time window is hard. A nonzero value specifies the maximum amount of lateness. For example, the break can begin up to 30 minutes beyond the end of its time window, but the lateness is penalized pursuant to the Time Window Violation Importance parameter. This property can be null. A null value with The unit for this field value is specified by the |
Double |
|
|
The maximum amount of travel time that can be accumulated before the break is taken. The travel time is accumulated either from the end of the previous break or, if a break has not yet been taken, from the start of the route. If this is the route's final break, This field limits how long a person can drive until a break is required. For example, if the time unit for the analysis is set to minutes, and If this field has a value, The unit for this field value is specified by the |
Double |
|
|
The maximum amount of work time that can be accumulated before the break is taken. Work time is always accumulated from the beginning of the route. Work time is the sum of travel time and service times at orders, depots, and breaks. However, this excludes wait time, which is the time a route (or driver) spends waiting at an order or depot for a time window to begin. This field limits how long a person can work until a break is required. For example, if the time unit for the analysis is set to minutes, Continuing with the last example, a second break is needed after three more hours of work. To specify this break, enter 315 (five hours and 15 minutes) as the second break's If this field has a value, The unit for this field value is specified by the |
Double |
|
|
A Boolean value indicating whether the break is paid or unpaid. Setting this field value to 1 indicates that the time spent at the break is included in the route cost computation and overtime determination. A value of 0 indicates otherwise. The default value is 1. |
Long |
|
|
Indicates the sequence of the break on its route. This field can contain null values; a null value causes the solver to assign the break sequence. If sequence values are specified, they should be positive and unique for each route (shared across renewal depot visits, orders, and breaks) but do not need to start from 1 or be contiguous. |
Long |
OrderPairs
Pairs pick up and deliver orders so they are serviced by the same route. Specifying order pairs prevents the analysis from assigning only one of the orders to a route: either both orders are assigned to the same route, or neither order is assigned.
Sometimes it is necessary for the pick up and delivery of orders to be paired. For example, a courier company may need to have a route pick up a high-priority package from one order and deliver it to another without returning to a depot, or sorting station, to minimize delivery time. These related orders can be assigned to the same route with the appropriate sequence using order pairs. Restrictions on how long the package can stay in the vehicle can also be assigned; for example, the package might be a blood sample that must be transported from the doctor's office to the lab within two hours.
Some situations may require two pairs of orders. For example, you want to transport a senior citizen from her home to the doctor and then back home. The ride from her home to the doctor is one pair of orders with a desired arrival time at the doctor, and the ride from the doctor to her home is another pair with a desired pickup time.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the first order of the pair. This field is a foreign key to the |
Text |
|
|
The name of the second order of the pair. This field is a foreign key to the The first order in the pair must be a pickup order; that is, the value for its The order quantities are not loaded or unloaded at depots. |
Text |
|
|
The maximum transit time for the pair. The transit time is the duration from the departure time of the first order to the arrival time at the second order. This constraint limits the time-on-vehicle, or ride time, between the two orders. When a vehicle is carrying people or perishable goods, the ride time is typically shorter than that of a vehicle carrying packages or nonperishable goods. This field can contain null values; a null value indicates that there is no constraint on the ride time. The unit for this field value is specified by the Excess transit time (measured with respect to the direct travel time between order pairs) can be tracked and weighted by the solver. Because of this, you can direct the VRP solver to take one of the following approaches:
By assigning an importance level using the |
Double |
RouteRenewals
The intermediate depots that routes can visit to reload or unload the cargo they are delivering or picking up. Specifically, a route renewal links a route to a depot. The relationship indicates the route can renew (reload or unload while en route) at the associated depot.
Route renewals can be used to model scenarios in which a vehicle picks up a full load of deliveries at the starting depot, services the orders, returns to the depot to renew its load of deliveries, and continues servicing more orders. For example, in propane gas delivery, the vehicle may make several deliveries until its tank is nearly or completely depleted, visit a refueling point, and make more deliveries.
Keep the following in mid when using route renewals:
The reload/unload point, or renewal location, can be different from the start or end depot.
Each route can have one or many predetermined renewal locations.
A renewal location can be used more than once by a single route.
In cases where there may be several potential renewal locations for a route, the closest available renewal location is identified by the solver.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the route to which this renewal applies. This field can't contain a null value and is a foreign key to the |
Text |
|
|
The name of the depot where this renewal takes place. This field can't contain a null value and is a foreign key to the |
Text |
|
|
The service time for the renewal. This field can contain a null value; a null value indicates zero service time. The unit for this field value is specified by the The time taken to load a vehicle at a renewal depot may depend on the size of the vehicle and how full or empty the vehicle is. However, the service time for a route renewal is a fixed value and does not take into account the actual load. The renewal service time should be given a value corresponding to a full truckload, an average truckload, or another time estimate of your choice. |
Double |
|
|
A space-separated string of sequence values of visits to the renewal depot. This field can contain a null value and is used to preassign visits to the renewal depot. |
Text |
RouteZones
Delineates work territories for given routes. A route zone is a polygon feature used to constrain routes to servicing only those orders that fall within or near the specified area. The following are examples of when route zones may be useful:
Some of your employees don't have the required permits to perform work in certain states or communities. You can create a hard route zone so they only visit orders in areas where they meet the requirements.
One of your vehicles breaks down frequently and you want to minimize response time by having it only visit orders that are close to your maintenance garage. You can create a soft or hard route zone to keep the vehicle nearby.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the route to which this zone applies. A route zone can have a maximum of one associated route. This field can't contain null values, and it is a foreign key to the |
Text |
|
|
A Boolean value indicating a hard or soft route zone. A field value of 1 indicates that the route zone is hard; that is, an order that falls outside the route zone polygon can't be assigned to the route. The default value is 1. A field value of 0 indicates that such orders can still be assigned, but the cost of servicing the order is weighted by a function that is based on the Euclidean distance from the route zone. Basically, this means that as the straight-line distance from the soft zone to the order increases, the likelihood of the order being assigned to the route decreases. |
Long |
PointBarriers
Use this parameter to specify one or more points that will act as temporary restrictions or represent additional time or distance that may be required to travel on the underlying streets. For example, a point barrier can be used to represent a fallen tree along a street or a time delay spent at a railroad crossing.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the barrier. |
Text |
|
|
Specifies whether the point barrier restricts travel completely or adds time or distance when it is crossed. The value for this attribute is specified as one of the following integers (use the numeric code, not the name in parentheses):
|
Long |
|
|
The added travel time when the barrier is traversed. This field value must be greater than or equal to zero, and the values are interpreted to be in the units specified by the |
Double |
|
|
The added distance when the barrier is traversed. This field value must be greater than or equal to zero, and the values are interpreted to be in the units specified by the |
Double |
|
|
The added cost when the barrier is traversed. This field value must be greater than or equal to zero, and the values are interpreted to be in unknown units. |
Double |
|
|
Specifies how the restriction point barriers are applied to the edge elements during the analysis. The field value is specified as one of the following integers (use the numeric code, not the name in parentheses):
|
Long |
|
|
Specifies the direction of traffic that is affected by the barrier. The field value is specified as one of the following integers (use the numeric code, not the name in parentheses):
Because junctions are points and don't have a side, barriers on junctions affect all vehicles regardless of the curb approach. The |
Long |
|
|
The direction in which a point is moving. The units are degrees and are measured clockwise from true north. This field is used in conjunction with the Bearing data is usually sent automatically from a mobile device equipped with a GPS receiver. Try to include bearing data if you are loading an input location that is moving, such as a pedestrian or a vehicle. Using this field tends to prevent adding locations to the wrong edges, which can occur when a vehicle is near an intersection or an overpass, for example. Bearing also helps the tool determine on which side of the street the point is. |
Double |
|
|
The bearing tolerance value creates a range of acceptable bearing values when locating moving points on an edge using the The units are in degrees, and the default value is 30. Values must be greater than 0 and less than 180. A value of 30 means that when Network Analyst attempts to add a network location on an edge, a range of acceptable bearing values is generated 15 degrees to either side of the edge (left and right) and in both digitized directions of the edge. |
Double |
|
|
This field is only used in the solve process if the The time units of |
Double |
|
Network location fields
|
Together, these properties describe the point on the network where the object is located. |
LineBarriers
Use this parameter to specify one or more lines that prohibit travel anywhere the lines intersect the streets. For example, a parade or protest that blocks traffic across several street segments can be modeled with a line barrier. A line barrier can also quickly fence off several roads from being traversed, thereby channeling possible routes away from undesirable parts of the street network.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the barrier. |
Text |
|
|
Specifies whether the barrier restricts travel completely or scales the cost (such as time or distance) for traveling through it. The field value is specified as one of the following integers (use the numeric code, not the name in parentheses):
|
Long |
|
|
This is the factor by which the travel time of the streets intersected by the barrier is multiplied. The field value must be greater than zero. |
Double |
|
|
This is the factor by which the distance of the streets intersected by the barrier is multiplied. The field value must be greater than zero. |
Double |
|
|
This is the factor by which the cost of the streets intersected by the barrier is multiplied. The field value must be greater than zero. |
Double |
|
|
The information in this field defines which network edges and junctions are covered by the line or polygon and the portion of each edge element that is covered. You cannot directly read or edit the information contained in this field, but Network Analyst interprets it when solving an analysis. |
BLOB |
PolygonBarriers
Use this parameter to specify polygons that either completely restrict travel or proportionately scale the time or distance required to travel on the streets intersected by the polygons.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the barrier. |
Text |
|
|
Specifies whether the barrier restricts travel completely or scales the cost (such as time or distance) for traveling through it. The field value is specified as one of the following integers (use the numeric code, not the name in parentheses):
|
Long |
|
|
This is the factor by which the travel time of the streets intersected by the barrier is multiplied. The field value must be greater than zero. |
Double |
|
|
This is the factor by which the distance of the streets intersected by the barrier is multiplied. The field value must be greater than zero. |
Double |
|
|
This is the factor by which the cost of the streets intersected by the barrier is multiplied. The field value must be greater than zero. |
Double |
|
|
The information in this field defines which network edges and junctions are covered by the line or polygon and the portion of each edge element that is covered. You cannot directly read or edit the information contained in this field, but Network Analyst interprets it when solving an analysis. |
BLOB |