Disponible avec une licence Maritime Charting.
Résumé
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.
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, 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.
Syntaxe
RepairNauticalData(in_workspace, repair_operations)
Paramètre | Explication | Type de données |
in_workspace | The file or enterprise geodatabase to be repaired. | Workspace |
repair_operations [repair_operations,...] | Specifies the repair process to be executed.
| String |
Sortie dérivée
Nom | Explication | Type de données |
updated_workspace | The repaired file or enterprise geodatabase. | Workspace |
Exemple de code
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="MOVE_SLAVE_FEATURES;REMOVE_ORPHAN_RELATIONSHIPS;FIX_LNAM"
# Execute the tool
arcpy.maritime.RepairNauticalData(input_workspace,operations)
Environnements
Informations de licence
- Basic: Non
- Standard: Requiert ArcGIS Maritime
- Advanced: Requiert ArcGIS Maritime
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?