描述
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.
| 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