ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

Validate Sample S-57

  • Resumen
  • Uso
  • Sintaxis
  • Muestra de código
  • Entornos
  • Información de licenciamiento

Resumen

Validates a sample ENC product and produces three outputs: the ENC product, an S-58 log file, and a shapefile.

Uso

  • Exports a sample S-57 product as a new edition (EN). The metadata and the product stored in the Product Library are not changed.

  • After export, the sample ENC is validated, and the output S-58 log file is parsed to a Data Reviewer workspace.

  • The Data Reviewer workspace must contain the reviewer schema. This can be created using the Enable Data Reviewer geoprocessing tool or the Reviewer Session Manager.

  • Combines and chains together three geoprocessing tools, Export Geodatabase To S-57, Validate S-57 File, and Parse S-58 Log File, in the ArcGIS Maritime toolbox to validate a sample ENC product.

Sintaxis

arcpy.nautical.ValidateSampleS57(Product_Library, {Product_Library_Owner}, Product, Data_Reviewer_Workspace, Production_Database, Output_Location)
ParámetroExplicaciónTipo de datos
Product_Library

Product Library workspace that contains the product.

Workspace
Product_Library_Owner
(Opcional)

Product Library schema owner name.

Set this parameter if the user account specified in the Product Library workspace is not the schema owner. This applies only to product libraries stored in enterprise geodatabases.

String
Product

Name of the product you want to export. This must exist in the specified Product Library before using this tool. This is specified as Solution Name::Product Class Name::Series Name::Product.

String
Data_Reviewer_Workspace

The path to the Data Reviewer workspace where the features or table records will be written. A new Data Reviewer workspace must be made for each ENC product.

Workspace
Production_Database

The workspace that will be validated and corrected. This workspace contains the data used to generate the S-57 format file.

Workspace
Output_Location

The location where you want to write the S-57 file, shapefile, and S-58 log file.

Folder

Salida derivada

NombreExplicaciónTipo de datos
S_58_ShapefileShapefile
Sample_ENCFile
S_58_Log_FileFile

Muestra de código

ValidateSampleS57 example (Python window)

The following Python window script demonstrates how to use the ValidateSampleS57 tool.

import arcpy

# Check for Data Reviewer extension
arcpy.CheckOutExtension("datareviewer")

# Check for Nautical extension
arcpy.CheckExtension("Nautical") 

#Tool variables
pl = r'C:\Data\checks\NAUTICAL_PRODUCT_LIBRARY_10.5.gdb'
pl_owner = ''
product = "Nautical::ENC::PythonTesting::US2WC05M"
reviewer_ws = r'C:\Data\checks\AscriptTest\Reviewer.gdb'
production_ws = r'C:\Data\checks\AscriptTest\NIS.gdb'
write_location = r'C:\Data\checks\AscriptTest'

#Create data reviewer schema
arcpy.EnableDataReviewer_Reviewer(reviewer_ws)

#Execute tool
arcpy.ValidateSampleS57_nautical(pl, pl_owner, product, reviewer_ws, production_ws, write_location)

Entornos

  • Espacio de trabajo actual

Información de licenciamiento

  • Basic: Requiere ArcGIS Maritime
  • Standard: Requiere ArcGIS Maritime
  • Advanced: Requiere ArcGIS Maritime

Temas relacionados

  • An overview of the Validation toolset
  • Export Geodatabase To S-57
  • Validate S-57 File
  • Parse S-58 Log File
  • Habilitar Data Reviewer

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

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

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal