ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Repair Nautical Data

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

Runs selected data repair processes on a database with the Nautical schema. Processes include repairing noncollocated structure-equipment features, deleting orphaned FREL and COLLECTIONS records, resolving blank or duplicate LNAM attribute values, and resolving blank or duplicate NOID values.

使用方法

  • The selected repair processes can be run on any Nautical schema.

  • It is recommended that you use this tool on an edit version of the NIS.

  • A checkout replica of the NIS can also be used.

  • Equipment point features that are not coincident with a structure line or polygon will not be moved but instead will be reported in the results as warning messages by their LNAM attribute so you can find and resolve them manually.

语法

arcpy.nautical.RepairNauticalData(in_target_workspace, in_options)
参数说明数据类型
in_target_workspace

The file or enterprise geodatabase to be repaired.

Workspace
in_options
[in_options,...]

The repair processes to be run.

  • FIX_LNAM —Resolves records with a blank LNAM attribute by populating them with a valid LNAM. Resolves duplicate LNAM conflicts by providing a new LNAM to one of the records.
  • FIX_NOID —Populates a unique NOID value for records with a blank NOID attribute.
  • REMOVE_ORPHAN_RELATIONSHIPS —Removes orphaned structure-equipment and collections records from the FREL and COLLECTIONS tables.
  • MOVE_SLAVE_FEATURES —Finds point equipment features that are not coincident with point structure features and moves them to the location of the structure.
String

代码示例

RepairNauticalData example (Python window)

The following code sample demonstrates how to use the tool with a database with the Nautical Chart schema.

# Tool variables
target_workspace = r"C:\Data\Working\CheckOutReplica_Job0003.gdb"
options="MOVE_SLAVE_FEATURES;REMOVE_ORPHAN_RELATIONSHIPS;FIX_LNAM;FIX_NOID"

# Execute the tool
arcpy.RepairNauticalData_nautical(target_workspace,options)

环境

  • 当前工作空间

许可信息

  • Basic: 需要 ArcGIS Maritime
  • Standard: 需要 ArcGIS Maritime
  • Advanced: 需要 ArcGIS Maritime

相关主题

  • An overview of the Validation toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明