Skip to main content

添加追踪配置 (追踪网络工具)

汇总

在追踪网络中创建指定追踪配置。

指定追踪配置用于配置和存储复杂追踪的属性,以供重用和共享。 在公共设施网络中创建的指定追踪配置可以在 ArcGIS Pro 中与 追踪 工具配合使用,或者通过追踪窗格中的指定配置选项卡使用。 使用企业配置时,它们也可以通过 Web 地图共享或供 Web 和外业应用程序使用。

了解有关如何添加追踪配置的详细信息

用法

  • 输入追踪网络版本必须是 2 或更高版本。

  • 使用企业级地理数据库时,输入追踪网络必须来自追踪网络服务。

  • 连接的门户账户将设置为指定追踪配置的创建者。

    • 操作系统身份验证用于在使用追踪网络 单用户部署 时存储追踪配置的创建者。
    许可:

    组织成员必须被分配 ArcGIS Advanced Editing 用户类型扩展模块许可,才能在企业级部署中使用此工具。

参数

标注 说明 数据类型

输入追踪网络

包含新的指定追踪配置的追踪网络。

Trace Network; Trace Network Layer

追踪配置名称

指定追踪配置的名称。

String

追踪类型

指定要配置的追踪类型。

  • 已连接将使用从一个或多个起点开始并沿着已连接要素向外跨越的已连接追踪。

  • 上游将使用能够发现网络中某位置上游的要素的上溯追踪。 此类追踪使用流向。

  • 下游将使用能够发现网络中某位置下游的要素的下溯追踪。 此类追踪使用流向。

  • 最短路径将使用可查找网络中两个起点之间的最短路径(不考虑流向)的最短路径追踪。 遍历路径的成本取决于为 shortest_path_network_attribute_name 参数设置的网络属性。

String

描述

(可选)

指定追踪配置的描述。

String

标签

(可选)

用于标识指定追踪配置的标签集。 可在搜索和索引中使用此类标签。

String

路径方向

(可选)

指定追踪路径的方向。 遍历路径的成本取决于最短路径网络属性名称参数值。 仅当运行最短路径追踪类型时,才会使用此参数。

  • 无方向将使用两个起点之间的路径(无论流向为何)。 这是默认设置。

  • 上游路径将使用两个起点之间的上游路径。

  • 下游路径将使用两个起点之间的下游路径。

String

最短路径网络属性名称

(可选)

用于计算路径的网络属性的名称。 运行最短路径追踪类型时,使用数字网络属性(例如形状长度)计算最短路径。 基于成本和距离的路径都可以进行计算。 运行最短路径追踪时,需要此参数。

String

包括障碍要素

(可选)

指定追踪结果中是否包含可遍历性障碍要素。

  • 选中追踪结果中将包含可遍历性障碍要素。 这是默认设置。

  • 未选中追踪结果中将不包含可遍历性障碍要素。

Boolean

验证一致性

(可选)

指定如果在任何遍历的要素中遇到脏区是否返回错误。 这是保证追踪通过网络中状态一致要素的唯一方法。 要移除脏区,请验证网络拓扑。

  • 选中如果在任何遍历的要素中遇到脏区,追踪将返回错误。 这是默认设置。

  • 未选中无论是否在遍历的要素中遇到脏区,追踪都将返回结果。

Boolean

忽略起点处障碍

(可选)

指定是否在追踪配置中忽略起点处的障碍。

  • 选中追踪过程中将忽略起点处的障碍。

  • 未选中追踪过程中不会忽略起点处的障碍。 这是默认设置。

Boolean

允许不确定的流

(可选)

指定是否追踪具有不确定或未初始化流向的要素。 此参数仅在运行上游追踪或下游追踪时使用。

  • 选中将追踪具有不确定流向或未初始化流向的要素。

  • 未选中不会追踪具有不确定流向或未初始化流向的要素。 这是默认设置。

Boolean

条件障碍

(可选)

基于与网络属性的比较,对要素设置可遍历性障碍条件。 条件障碍使用网络属性、运算符和类型以及属性值。 例如,当要素的 Code 属性等于 ArtificialPath 的特定值时,将停止追踪。 当要素满足此条件时,追踪将停止。 如果您要使用多个属性,可使用组合方法组件来定义 And 或 Or 条件。

值表列:

  • NameFilter by network attribute name.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

  • TypeFilter by a specific type.

    • Specific valueFilter by a specific value.

    • Network attributeFilter by a network attribute.

  • ValueFilter by a specific value.

  • Combine UsingCombine multiple condition barriers.

    • AndCombine the condition barriers.

    • OrUse if either condition barrier is met.

Value Table

函数障碍

(可选)

基于函数对要素设置可遍历性障碍。 函数障碍可用于执行以下操作:限制追踪距离起点的行程或设置停止追踪的最大值。 例如,所经过的每条线的长度和为目前经过的总距离。 当经过的总长度达到指定值时,追踪将停止。

值表列:

  • FunctionFilter by a function.

    • MinThe minimum of the input values.

    • MaxThe maximum of the input values.

    • AverageThe average of the input values.

    • CountThe number of features.

    • AddThe sum of the values.

    • SubtractThe difference between the values.

  • AttributeFilter by a network attribute.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

  • ValueFilter by a specific value.

  • Use Local ValuesBoolean value to use local variables instead of a global variable.

Value Table

应用可遍历性至

(可选)

指定可遍历性是否应用于交汇点和/或边。 例如,在游憩步道网络中,如果条件障碍定义为当 surfacetype 属性包含砾石值并且可遍历性范围设置为仅交汇点时停止追踪,则即使遇到 surfacetype 字段具有此值的边要素,追踪也不会停止,因为 surfacetype 属性仅适用于边。 换句话说,此参数向追踪指示是忽略交汇点、忽略边还是将交汇点和边都包含在追踪中。

  • 交汇点和边可遍历性将同时应用于交汇点和边。 这是默认设置。

  • 仅交汇点可遍历性将仅应用于交汇点。

  • 仅边可遍历性将仅应用于边。

String

函数

(可选)

将应用于追踪结果的计算函数。

值表列:

  • FunctionFilter by a function.

    • MinThe minimum of the input values.

    • MaxThe maximum of the input values.

    • AverageThe average of the input values.

    • CountThe number of features.

    • AddThe sum of the values.

    • SubtractThe difference between the values.

  • AttributeFilter by a network attribute

  • Filter NameFilter by attribute name.

  • Filter OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

  • Filter TypeFilter by attribute type.

    • Specific valueFilter by a specific value.

    • Network attributeFilter by a network attribute.

  • Filter ValueFilter by a specific value.

  • Function NameThe name for the alias to describe the function result.

Value Table

输出条件

(可选)

根据网络属性返回的要素类型。 例如,如果将追踪配置为“过滤掉除水龙头要素外的所有要素”,未分配 Tap 属性的追踪要素均不会包含在结果中。 任何追踪的要素都会返回到结果选择集中。 如果要使用多个属性,可使用组合方法选项来定义 And 或 Or 条件。

值表列:

  • NameFilter by network attribute name.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

  • TypeFilter by a specific type.

    • Specific valueFilter by a specific value.

    • Network attributeFilter by a network attribute.

  • ValueFilter by a specific value.

  • Combine UsingCombine multiple conditions.

    • AndCombine the conditions.

    • OrUse if either condition is met.

Value Table

结果类型

(可选)

指定追踪返回的结果的类型。

  • 选择追踪结果将作为相应网络要素上的选择集返回。 这是默认设置。

  • 聚合几何追踪结果按几何类型聚合,并存储在活动地图的图层中显示的要素类中。

String

派生输出

标注 说明 数据类型

已更新的追踪网络

更新的追踪网络。

Trace Network

环境

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

许可信息

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