摘要
Runs selected data repair processes on a database with the Nautical schema. Processes include repairing non-collocated 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 to use it 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.
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.
语法
RepairNauticalData(target_workspace, options)
参数 | 说明 | 数据类型 |
target_workspace | The file or enterprise geodatabase to be repaired. | Workspace |
options [options,...] | The repair processes to be run.
| String |
代码示例
RepairNauticalData example
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)
环境
许可信息
- ArcGIS Desktop Basic: 否
- ArcGIS Desktop Standard: 否
- ArcGIS Desktop Advanced: 需要 Maritime Charting