Repair Nautical Data (Maritime)

Available with ArcGIS Maritime license.

Summary

Repairs selected data processes on a database with the Nautical schema. Processes include repairing noncollocated structure-equipment features, deleting detached FREL and COLLECTIONS records, resolving blank or duplicate LNAM attribute values, and nudging point or line features that fall exactly at the cell or MetaDataA (M_CSCL) boundaries.

Usage

  • 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 database.

  • A checkout replica of the database can also be used, but it should not be used with the Remove Orphan Relationships option in the Repair Operations parameter.

  • 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.

Parameters

LabelExplanationData Type
Input Workspace

The file or enterprise geodatabase that will be repaired.

Workspace
Repair Operations

Specifies the repair process that will be used.

  • Fix LNAMRecords with a blank LNAM attribute will be resolved by populating the records with a valid LNAM value, and duplicate LNAM attribute conflicts will be resolved with a new LNAM value provided to one of the records.
  • Remove Orphan RelationshipsDetached structure or equipment and collections records will be removed from the PLTS_FREL and PLTS_COLLECTIONS tables.
  • Move Equipment FeaturesPoint equipment features that are not coincident with point structure features will be identified and moved to the location of the structure.
  • Nudge Boundary FeaturesIf an adjacent cell exists with the same navigational purpose, point and line features that entirely intersect the cell boundary will be nudged 1e-7 West (if along a cell meridian) or 1e-7 South (if along a cell parallel). If there is no adjacent cell, the feature will be nudged in the opposite direction. Point and line features that entirely intersect the boundary of any MetaDataA (M_CSCL) and meet the extraction criteria will be nudged inside the M_CSCL feature. Point and line features that meet the ProductCoverage criteria will be nudged into the product.
String

Derived Output

LabelExplanationData Type
Updated Workspace

The repaired file or enterprise geodatabase.

Workspace

arcpy.maritime.RepairNauticalData(in_workspace, repair_operations)
NameExplanationData Type
in_workspace

The file or enterprise geodatabase that will be repaired.

Workspace
repair_operations
[repair_operations,...]

Specifies the repair process that will be used.

  • FIX_LNAMRecords with a blank LNAM attribute will be resolved by populating the records with a valid LNAM value, and duplicate LNAM attribute conflicts will be resolved with a new LNAM value provided to one of the records.
  • REMOVE_ORPHAN_RELATIONSHIPSDetached structure or equipment and collections records will be removed from the PLTS_FREL and PLTS_COLLECTIONS tables.
  • MOVE_EQUIPMENT_FEATURESPoint equipment features that are not coincident with point structure features will be identified and moved to the location of the structure.
  • NUDGE_BOUNDARY_FEATURESIf an adjacent cell exists with the same navigational purpose, point and line features that entirely intersect the cell boundary will be nudged 1e-7 West (if along a cell meridian) or 1e-7 South (if along a cell parallel). If there is no adjacent cell, the feature will be nudged in the opposite direction. Point and line features that entirely intersect the boundary of any MetaDataA (M_CSCL) and meet the extraction criteria will be nudged inside the M_CSCL feature. Point and line features that meet the ProductCoverage criteria will be nudged into the product.
String

Derived Output

NameExplanationData Type
updated_workspace

The repaired file or enterprise geodatabase.

Workspace

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"
operations="NUDGE_BOUNDARY_FEATURES;MOVE_EQUIPMENT_FEATURES;REMOVE_ORPHAN_RELATIONSHIPS;FIX_LNAM"

# Execute the tool
arcpy.maritime.RepairNauticalData(input_workspace,operations)

Environments

Licensing information

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

Related topics