Repair Nautical Data (Maritime)

Available with Maritime Charting license.


Repairs selected data processes on a database with the Nautical schema. Processes include repairing noncollocated master slave features, deleting orphaned FREL and COLLECTIONS records, and resolving blank or duplicate LNAM attribute 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, but it should not be used with the Remove Orphan Relationships process.

  • Slave point features that are not coincident with a master 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(in_workspace, repair_operations)
ParameterExplanationData Type

The file or enterprise geodatabase to be repaired.


Specifies the repair process to be executed.

  • FIX_LNAMRecords with a blank LNAM attribute will be resolved by populating the records with a valid LNAM, and duplicate LNAM conflicts will be resolved with a new LNAM provided to one of the records.
  • REMOVE_ORPHAN_RELATIONSHIPSOrphaned master slave and collections records will be removed from the FREL and COLLECTIONS tables.
  • MOVE_SLAVE_FEATURESPoint slave features that are not coincident with point master features will be identified and moved to the location of the master.

Derived Output

NameExplanationData Type

The repaired file or enterprise geodatabase.


Code sample

RepairNauticalData example (Python window)

The following code sample demonstrates how to use the RepairNauticalData function with a database with the Nautical Chart schema.

# Import arcpy module
import arcpy

# Tool variables
input_workspace = r"C:\Data\CheckOutReplica_Job0003.gdb"

# Execute the tool


Licensing information

  • Basic: No
  • Standard: Requires ArcGIS Maritime
  • Advanced: Requires ArcGIS Maritime

Related topics