Resumen
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.
Uso
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.
Sintaxis
RepairNauticalData(target_workspace, options)
Parámetro | Explicación | Tipo de datos |
target_workspace | The file or enterprise geodatabase to be repaired. | Workspace |
options [options,...] | The repair processes to be run.
| String |
Muestra de código
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)
Entornos
Información sobre licencias
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: No
- ArcGIS Desktop Advanced: Requiere Maritime Charting