Résumé
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.
Utilisation
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.
Syntaxe
arcpy.nautical.RepairNauticalData(in_target_workspace, in_options)
Paramètre | Explication | Type de données |
in_target_workspace | The file or enterprise geodatabase to be repaired. | Workspace |
in_options [in_options,...] | The repair processes to be run.
| String |
Exemple de code
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)
Environnements
Informations de licence
- Basic: Requiert ArcGIS Maritime
- Standard: Requiert ArcGIS Maritime
- Advanced: Requiert ArcGIS Maritime