ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Справка
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Картографическая платформа вашей организации

ArcGIS Desktop

Полноценная профессиональная ГИС

ArcGIS Enterprise

ГИС предприятия

ArcGIS Developers

Инструменты для встраивания приложений с местоположениями

ArcGIS Solutions

Бесплатные шаблоны карт и приложений для отрасли

ArcGIS Marketplace

Получение приложения и данных для вашей организации.

  • Документация
  • Поддержка
Esri
  • Войти
user
  • Мой профиль
  • Выход

ArcMap

  • На главную
  • Начало работы
  • Карта
  • Анализ
  • Управление данными
  • Инструменты
  • Дополнительные модули

Validate Sample S-57

  • Сводка
  • Использование
  • Синтаксис
  • Пример кода
  • Параметры среды
  • Информация о лицензиях

Сводка

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

Использование

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

Синтаксис

arcpy.nautical.ValidateSampleS57(Product_Library, {Product_Library_Owner}, Product, Data_Reviewer_Workspace, Production_Database, Output_Location)
ПараметрОбъяснениеТип данных
Product_Library

Product Library workspace that contains the product.

Workspace
Product_Library_Owner
(Дополнительный)

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

Производные выходные данные

ИмяОбъяснениеТип данных
S_58_ShapefileShapefile
Sample_ENCFile
S_58_Log_FileFile

Пример кода

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)

Параметры среды

  • Текущая рабочая область

Информация о лицензиях

  • Basic: Требуется ArcGIS Maritime
  • Standard: Требуется ArcGIS Maritime
  • Advanced: Требуется ArcGIS Maritime

Связанные разделы

  • An overview of the Validation toolset
  • Export Geodatabase To S-57
  • Validate S-57 File
  • Parse S-58 Log File
  • Включить Data Reviewer

ArcGIS Desktop

  • На главную
  • Документация
  • Поддержка

ArcGIS

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

Об Esri

  • О нас
  • Карьера
  • Блог Esri
  • Конференция пользователей
  • Саммит разработчиков
Esri
Расскажите нам, что вы думаете.
Copyright © 2021 Esri. | Конфиденциальность | Правовая информация