OriginDestinationCostMatrix input data types
The input data types that can be specified when performing an origin-destination cost matrix analysis are described below.
Origins
Specifies the starting points from which to travel to the destinations.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the origin. The name can be a unique identifier for the origin. The name is included in the output lines (as the If the name is not specified, a unique name prefixed with Location is automatically generated. |
Text |
|
|
The maximum number of destinations to find for the origin. This field allows you to specify a different number of destinations to find for each origin. For example, using this field, you can find the three closest destinations from one origin and the two closest destinations from another origin. A value for this field overrides the default set for the analysis using the The default value is |
Long |
|
|
The impedance value at which to stop searching for destinations from a given origin. This attribute allows you to specify a different cutoff value for each destination. For example, using this attribute, you can specify to search for destinations within five minutes of travel time from one origin and to search for destinations within eight minutes of travel time from another origin. A value for this attribute overrides the default set for the analysis using the If the travel mode in the analysis uses a time-based impedance attribute, the values are interpreted to be in the units specified by the The default value is |
Double |
|
|
Specifies the direction a vehicle may depart from the origin. 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 units of |
Double |
|
Network location fields
|
Together, these properties describe the point on the network where the object is located. |
Destinations
Specifies the ending point locations to travel to from the origins.
The data type supports the following fields:
|
Field |
Description |
Data type |
|---|---|---|
|
|
The name of the destination. The name can be a unique identifier for the destination. The name is included in the output lines (as the If the name is not specified, a unique name prefixed with Location is automatically generated. |
Text |
|
|
Specifies the direction a vehicle may arrive at a destination. 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 units of |
Double |
|
Network location fields
|
Together, these properties describe the point on the network where the object is located. |
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 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 |