导出追踪配置 (公共设施网络)

ArcGIS Pro 3.4 | | 帮助归档

在 Standard 或 Advanced 许可等级下可用。

摘要

将公共设施网络中的指定追踪配置导出为 JSON 格式(.json 文件)。

此工具可以与导入追踪配置工具一起使用。

了解有关导出追踪配置的详细信息

使用情况

  • 在使用企业级地理数据库时,需要满足以下要求:
    • 输入公共设施网络参数值必须来自公共设施网络服务。
    注:

    当作为门户公共设施网络所有者或者具有管理员角色的门户帐户进行连接时,输入公共设施网络参数值可以来自作为数据库公共设施网络所有者建立的数据库连接。

  • 门户公共设施网络所有者可以查看并导出公共设施网络中的任何指定追踪配置。 其他用户只能查看和导出其创建的指定追踪配置。

  • .json 文件中的信息按以下格式存储:

    [
    	{
    		"creator": "<property representing the connected portal account on creation>",
    		"name": "<property  representing the name for the named trace configuration>",
    		"description": "<property representing the description of the named trace configuration>",
    		"traceType": <property representing the trace type>,
    		"configuration": <property representing the collection of trace configuration parameters>,
    		"resultTypes": "[<property representing the types of results to return>]",
    		"tags": "<property representing user provided tags>"
    	}
    ]

    使用“导出追踪配置”工具来自公共设施网络的示例 JSON:

    [
    	{
    		"creator": "portaladmin_un",
    		"name": "Connected_RMT002_A",
    		"description": "Connected trace on subnet RMT002",
    		"traceType": 1,
    		"configuration": "{"includeBarriers":true,"validateConsistency":true,"ignoreBarriersAtStartingPoints":false,"allowIndeterminateFlow":false,"shortestPathNetworkAttributeName":"","traversabilityScope":"junctionsAndEdges","conditionBarriers":[],"functionBarriers":[],"functions":[],"outputFilters":[],"outputConditions":[],"pathDirection":"noDirection"}",
    		"resultTypes": "[{"type":"elements","includeGeometry":false,"includePropagatedValues":false,"networkAttributeNames":[],"diagramTemplateName":"","resultTypeFields":[]},{"type":"aggregatedGeometry","includeGeometry":false,"includePropagatedValues":false,"networkAttributeNames":[],"diagramTemplateName":"","resultTypeFields":[]}]",
    		"tags": "["connected","RMT002"]"
    	}
    ]

参数

标注说明数据类型
输入公共设施网络

包含要导出的指定追踪配置的公共设施网络。

Utility Network; Utility Network Layer
追踪配置

要导出的指定追踪配置。

String
输出文件 (.json)

输出 .json 文件。

File

环境

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

许可信息

  • Basic: 否
  • Standard: 是
  • Advanced: 是

相关主题