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 S-57 File

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

Сводка

Validates an ENC or IENC file and generates an .S58 file as a result.

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

  • Multiple revision (ER) files, also known as updates, must be validated at the same time as the base file. Individual ER files cannot be validated at a later time.

  • A new edition (EN) base file can be validated.

  • A catalog file (.031) can be validated. When a catalog file is chosen for validation, only the S-58 checks pertaining to the Exchange Set or data structure will be run.

  • The tool will output a shapefile and an .xml file of the S-58 errors discovered during the validation process.

  • An ignore list text file can be used to disable specific S-58 checks.

  • A sample ignore list text file is available at <install location>\ArcGIS\MaritimeCharting\Desktop10.7\Common\S-58IgnoreList.txt.

    Примечание:

    Remove the pound sign (#) from the beginning of the line for each check you want to ignore.

Синтаксис

arcpy.nautical.ValidateS57File(in_s57_file, in_output_directory, {in_update_cells}, {in_regional_rules}, {ignore_list})
ПараметрОбъяснениеТип данных
in_s57_file

Base file in the S-57 format.

File
in_output_directory

The location where the validated S-57 log will be created.

Folder
in_update_cells
(Дополнительный)

Update to a base file in the S-57 format.

File
in_regional_rules
(Дополнительный)

For IENC cells, some validation rules don't apply in certain regions, or check for different objects and attribution. The selected region will honor the rules set forth in the Recommended Inland ENC Validation Checks for that region.

  • Brazil —Selects Brazil.
  • Europe —Selects Europe.
  • Russian Federation —Selects Russian Federation.
  • United States —Selects United States.
String
ignore_list
(Дополнительный)

A text file that will be used to disable specific S-58 checks.

File

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

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

Пример кода

ValidateS57File (Python window)

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

# Import arcpy module
import arcpy

# Check for Nautical extension 
print "Checking out Maritime extension" 
arcpy.AddMessage("Checking out Maritime extension") 
if arcpy.CheckExtension("Nautical") == "Available": 
    arcpy.CheckOutExtension("Nautical") 
else: 
    arcpy.AddError("Maritime: Charting license is unavailable.")
    
# Tool variables

US3CA52M_000 = "C:\\VALIDATES57FILE\\US3CA52M.000"
ValidateS57file = "c:\\ValidateS57file"
US3CA52M_001 = "C:\\ValidateS57file\\US3CA52M.001"
regional_rule = “United States”
ignore_list = r'C:\Program Files (x86)\ArcGIS\MaritimeCharting\Desktop10.7\Common\S-58IgnoreList.txt'

# Execute the tool
arcpy.ValidateS57File_nautical(US3CA52M_000, ValidateS57file, US3CA52M_001, regional_rule, ignore_list)

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

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

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

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

ArcGIS Desktop

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

ArcGIS

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

Об Esri

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