Repair Nautical Data (Maritime)

获得 Maritime Charting 许可后可用。

描述

Repairs selected data processes on a database with the Nautical schema. Processes include repairing noncollocated structure-equipment features, deleting orphaned FREL and COLLECTIONS records, and resolving blank or duplicate LNAM attribute 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, but it should not be used with the Remove Orphan Relationships process in the Repair Operations parameter.

  • 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.maritime.RepairNauticalData(in_workspace, repair_operations)
参数说明数据类型
in_workspace

The file or enterprise geodatabase to be repaired.

Workspace
repair_operations
[repair_operations,...]

Specifies the repair process to be executed.

  • FIX_LNAMRecords with a blank LNAM attribute will be resolved by populating the records with a valid LNAM value, and duplicate LNAM attribute conflicts will be resolved with a new LNAM value provided to one of the records.
  • REMOVE_ORPHAN_RELATIONSHIPSOrphaned structure or equipment and collections records will be removed from the PLTS_FREL and PLTS_COLLECTIONS tables.
  • MOVE_EQUIPMENT_FEATURESPoint equipment features that are not coincident with point structure features will be identified and moved to the location of the structure.
String

派生输出

名称说明数据类型
updated_workspace

The repaired file or enterprise geodatabase.

Workspace

代码示例

RepairNauticalData example (Python window)

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

# Import arcpy module
import arcpy

# Tool variables
input_workspace = r"C:\Data\CheckOutReplica_Job0003.gdb"
operations="MOVE_EQUIPMENT_FEATURES;REMOVE_ORPHAN_RELATIONSHIPS;FIX_LNAM"

# Execute the tool
arcpy.maritime.RepairNauticalData(input_workspace,operations)

许可信息

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

相关主题