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

Import S-57 To Geodatabase

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

Summary

Imports an S-57 file into a maritime geodatabase. Sources that can be imported include Electronic Navigational Chart (ENC), Additional Military layers (AML), and Inland Electronic Navigational Chart (IENC).

Usage

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

  • A New Edition (EN) base file can be imported.

  • The Target Workspace must contain a maritime schema.

  • It is recommended to import to an edit version when using SDE.

  • Populated fields include the following:

    • Dataset name (DSNM)
    • PLTS compilation scale
    • NIS product type
    • Verified state
    • Verified date
    • Last modified date

Syntax

arcpy.nautical.ImportS57ToGeodatabase(in_base_cell, target_workspace, {in_update_cells})
ParameterExplanationData Type
in_base_cell

Base file in the S-57 format.

File
target_workspace

Workspace where all the objects will be written.

Workspace
in_update_cells
(Optional)

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

File

Code sample

ImportS57ToGeodatabase example

The following code sample demonstrates how to import an S-57 file.

# 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
in_base_cell = r"C:\Data\Importer\US1AK90M\US1AK90M.000"
target_workspace = r"C:\Data\Importer\NIS_1.gdb"
in_update_cells = ["C:\Data\Importer\US1AK90M\US1AK90M.001", "C:\Data\Importer\US1AK90M\US1AK90M.002"]


# Execute the tool
arcpy.ImportS57ToGeodatabase_nautical(in_base_cell, target_workspace, in_update_cells )

Environments

  • Current Workspace
  • Scratch Workspace

Licensing information

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

Related topics

  • An overview of the S-57 Tools 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