Skip to main content

添加车队路径 (Network Analyst 工具)

汇总

用于在车辆配送最后一公里配送废弃物收集分析图层中创建路径。 该工具会将行追加到 Routes 子图层,并可以在创建唯一名称字段时添加具有特定设置的行。

旧版本:

在 ArcGIS Pro 3.5 之前的版本中,此工具名称为添加车辆配送路径

用法

  • 该工具会将路径添加到具有以路径名称前缀参数值开头的唯一名称的 Routes 子图层。

  • 起始站点名称终止站点名称参数值均基于 Depots 子图层中的名称。

  • 要删除所有现有路径并创建新的路径,请取消选中追加到现有路径参数。

参数

标注 说明 数据类型

输入车辆配送图层

将添加路径的车辆配送、最后一公里配送或废弃物收集分析图层。

Network Analyst Layer

路径数

(可选)

将添加的路径数量。

Long

路径名称前缀

(可选)

将添加至每条路径名称的限定符。 例如,路径名称前缀 WeekdayRoute 将用作每个路径名称的起始文本,并在其后附加递增的数字后缀(例如 WeekdayRoute1、WeekdayRoute2,以此类推)。

String

起始站点名称

(可选)

路径的起始站点名称。

如果该值为空,则路径会将分配的第一个订单点作为起始点。 车辆的起始位置未知或者与问题不相关时,可以忽略起始站点。

对于车辆配送图层,如果该值为空,则终止站点名称参数值不能也为空。 对于最后一公里配送和废弃物收集图层,起始站点和终止站点可同时为空。

如果订单点或站点跨多个时区,则不允许使用虚拟起始站点。

String

终止站点名称

(可选)

路径的终止站点名称。

如果该值为空,则路径将在分配的最后一个订单点处结束。

对于车辆配送图层,如果该值为空,则起始站点名称参数值不能也为空。 对于最后一公里配送和废弃物收集图层,起始站点和终止站点可同时为空。

String

最早开始时间

(可选)

车辆配送图层中路径允许的最早开始时间。

求解程序通过将该参数与起始站点的时间窗(在 Depots 子图层中由 TimeWindowStart 字段提供)结合使用来确定可行的路径开始时间。 该参数的默认仅时间值是 8:00:00 a.m.,即为分析图层 Default Date 属性提供的日期当天上午 8:00:00。 如果未指定任何值,则将使用默认值。

仅当输入图层为车辆配送图层时,此参数才适用。 如果输入图层具有不同的求解程序类型,则其将被隐藏。

Date

最晚开始时间

(可选)

车辆配送图层中路径允许的最晚开始时间。

该参数的默认仅时间值是 10:00:00 a.m.,即为分析图层 Default Date 属性提供的日期当天上午 10:00:00。 如果未指定任何值,则将使用默认值。

仅当输入图层为车辆配送图层时,此参数才适用。 如果输入图层具有不同的求解程序类型,则其将被隐藏。

Date

最大订单点计数

(可选)

路径上允许的最大订单点数。 车辆配送图层的默认值为 30,最后一公里配送图层的默认值为空。 如果未指定任何值,则将使用默认值。

如果输入图层为废弃物收集图层,则此参数不适用且将被隐藏。

Long

容量

(可选)

车辆的最大收集量(体积、重量、数量等)。 空值等于零。 最多允许 9 个容量字段,但仅使用对车辆需求进行建模所需的数量。

如果输入图层为废弃物收集图层,则此参数不适用且将被隐藏。

值表列:

  • Capacity_1The first capacity field.

  • Capacity_2The second capacity field.

  • Capacity_3The third capacity field.

  • Capacity_4The fourth capacity field.

  • Capacity_5The fifth capacity field.

  • Capacity_6The sixth capacity field.

  • Capacity_7The seventh capacity field.

  • Capacity_8The eight capacity field.

  • Capacity_9The nine capacity field.

Value Table

路径约束

(可选)

将对路径施加的限制,用于限制总时间、总行驶时间和总距离。

如果输入图层为废弃物收集图层,则此参数不适用且将被隐藏。

值表列:

  • Max Total TimeThe maximum allowable route duration. The route duration includes travel times as well as service and wait times at orders, depots, and breaks. Specify the value in the input layer's time units.

  • Max Total Travel TimeThe 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 value can't be larger than the MaxTotalTime field value. Specify the value in the input layer's time units.

  • Max Total DistanceThe maximum allowable travel distance for the route. Specify the value in the input layer's distance units.

Value Table

成本

(可选)

解决方案中路径可能产生的成本。

如果输入图层为废弃物收集图层,则此参数不适用且将被隐藏。

值表列:

  • Fixed CostA fixed monetary cost that is incurred only if the route is used in a solution (that is, it has orders assigned to it).

  • Cost Per Unit TimeThe monetary cost incurred per unit of work time for the total route duration, including travel times and service and wait times at orders, depots, and breaks.

  • Cost Per Unit DistanceThe monetary cost incurred per unit of distance traveled for the route length (total travel distance).

  • Overtime Start TimeThe duration of regular work time before overtime computation begins.

  • Cost Per Unit OvertimeThe monetary cost incurred per time unit of overtime work. This field can contain null values; a null value indicates that the Cost Per Unit Overtime value is the same as the Cost Per Unit Time value.

Value Table

附加路径时间

(可选)

附件路径时间选项。

如果输入图层为废弃物收集图层,则此参数不适用且将被隐藏。

值表列:

  • Start Depot Service TimeThe service time at the starting depot. This can be used to model the time spent loading the vehicle.

  • End Depot Service TimeThe service time at the ending depot. This can be used to model the time spent unloading the vehicle.

  • Arrive/Depart DelayThe 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 Arrive/Depart Delay value, the solver is deterred from sending many routes to service physically coincident orders.

Value Table

追加到现有路径

(可选)

指定是否将新的路径追加到现有路径属性表中。

  • 选中新的路径将追加到路径属性表的现有集合中。 这是默认设置。

  • 未选中将删除现有路径并替换为新路径。

Boolean

日期和时间

(可选)

最后一公里配送图层的附加日期和时间属性。

仅当输入图层为最后一公里配送图层时,此参数才适用。 如果输入图层具有不同的求解程序类型,则其将被隐藏。

值表列:

  • Earliest Route Start DateThe earliest start date for added routes. If this property is not specified, the routes will use the layer's default earliest route start date.

  • Earliest Route Start TimeThe earliest start time of day for added routes. If this property is not specified, the routes will use the layer's default earliest route start time.

  • Route Start FlexibilityIndicates how long after the earliest allowed route start time the route can start. The value can be zero, which means that there is no flexibility in the starting time, or a positive number. Specify the value in the input layer's time units.

Value Table

容量

(可选)

废弃物收集图层中路径的容量。

仅当输入图层为废弃物收集图层时,此参数才适用。 如果输入图层具有不同的求解程序类型,则其将被隐藏。

值表列:

  • MaxBins_1The maximum number of waste bins for fraction 1 that the vehicle can collect before it must be emptied.

  • MaxWeight_1The maximum physical weight for fraction 1 that the vehicle can collect before it must be emptied. Any weight units can be used for this value as long as the same units are used for all weight fields.

  • MaxVolume_1The maximum volume for fraction 1 that the vehicle can collect before it must be emptied. Any volume units can be used for this value as long as the same units are used for all volume fields.

  • MaxBins_2The maximum number of waste bins for fraction 2 that the vehicle can collect before it must be emptied.

  • MaxWeight_2The maximum physical weight for fraction 2 that the vehicle can collect before it must be emptied. Any weight units can be used for this value as long as the same units are used for all weight fields.

  • MaxVolume_2The maximum volume for fraction 2 that the vehicle can collect before it must be emptied. Any volume units can be used for this value as long as the same units are used for all volume fields.

Value Table

开始时间

(可选)

废弃物收集图层的附加日期和时间属性。

虽然可以为开始时间属性同时指定日期和时间,但仅会使用时间部分。

仅当输入图层为废弃物收集图层时,此参数才适用。 如果输入图层具有不同的求解程序类型,则其将被隐藏。

值表列:

  • Start TimeThe starting time for the route. If this property is not specified, the routes will use the layer's default start time.

  • Overtime Start TimeThe duration of regular work time before overtime computation begins. A null value indicates that overtime does not apply. Specify the value in the input layer's time units.

Value Table

路径约束

(可选)

将对路径施加的限制,用于限制总时间和距离。

仅当输入图层为废弃物收集图层时,此参数才适用。 如果输入图层具有不同的求解程序类型,则其将被隐藏。

值表列:

  • Max Total TimeThe maximum allowable route duration. The route duration includes travel times as well as service and wait times at stops, depots, and renewals. Specify the value in the input layer's time units.

  • Max Total DistanceThe maximum allowable travel distance for the route. Specify the value in the input layer's distance units.

Value Table

附加路径时间

(可选)

附件路径时间属性。

仅当输入图层为废弃物收集图层时,此参数才适用。 如果输入图层具有不同的求解程序类型,则其将被隐藏。

值表列:

  • Start Depot Service TimeThe service time at the starting depot. This can be used to model the time spent loading the vehicle.

  • End Depot Service TimeThe service time at the ending depot. This can be used to model the time spent unloading the vehicle.

Value Table

派生输出

标注 说明 数据类型

输出车辆配送图层

更新的网络分析图层。

Network Analyst Layer

环境

此工具不使用任何地理处理环境。

许可信息

  • 基本: 是
  • 标准: 是
  • 高级: 是