ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Repair Nautical Data

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

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.

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

Syntax

arcpy.nautical.RepairNauticalData(in_target_workspace, in_options)
ParameterExplanationData Type
in_target_workspace

The file or enterprise geodatabase to be repaired.

Workspace
in_options
[in_options,...]

The repair processes to be run.

  • FIX_LNAM —Resolves records with a blank LNAM attribute by populating them with a valid LNAM. Resolves duplicate LNAM conflicts by providing a new LNAM to one of the records.
  • FIX_NOID —Populates a unique NOID value for records with a blank NOID attribute.
  • REMOVE_ORPHAN_RELATIONSHIPS —Removes orphaned structure-equipment and collections records from the FREL and COLLECTIONS tables.
  • MOVE_SLAVE_FEATURES —Finds point equipment features that are not coincident with point structure features and moves them to the location of the structure.
String

Code sample

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)

Environments

  • Current Workspace

Licensing information

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

Related topics

  • An overview of the Validation toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal