概要
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