Import S-100 Feature Catalogue (Maritime)

Доступно с лицензией Maritime Charting.

Краткая информация

Imports the contents of an S-100 feature catalogue into an existing geodatabase. A feature catalogue is an XML document that describes the content of a data product.

Examples of S-100 data products include the following:

  • S-101 Electronic Navigation Chart
  • S-111 Surface Currents

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

  • The Target Workspace must already exist and be either a file or an enterprise geodatabase. To create a new, empty geodatabase use the Create File Geodatabase tool.

  • The feature catalogue must be in XML format.

  • This tool should not be used to update or upgrade a geodatabase that contains existing data or schema.

  • This tool is intended for the initial import of an S-100 feature catalogue into a geodatabase. If multiple geodatabases of the same S-100 standard are needed, it is recommended to copy the geodatabase after running this tool.

Параметры

ПодписьОписаниеТип данных
S-100 Feature Catalogue

An S-100 feature catalogue document that describes the content of a data product and specification.

File
Target Workspace

The geodatabase to which output data will be written.

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

Optional enterprise geodatabase administrator connection file that should be used when importing into an enterprise geodatabase, for example, the SDE user.

File

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

ПодписьОписаниеТип данных
Output Workspace

The geodatabase to which output data will be written.

Workspace

arcpy.maritime.ImportS100FeatureCatalogue(in_feature_catalogue, target_workspace, {admin_connection})
ИмяОписаниеТип данных
in_feature_catalogue

An S-100 feature catalogue document that describes the content of a data product and specification.

File
target_workspace

The geodatabase to which output data will be written.

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

Optional enterprise geodatabase administrator connection file that should be used when importing into an enterprise geodatabase, for example, the SDE user.

File

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

ИмяОписаниеТип данных
output_workspace

The geodatabase to which output data will be written.

Workspace

Пример кода

ImportS100FeatureCatalogue example (stand-alone script)

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

# Import arcpy module
import arcpy

# Check for Nautical extension
if arcpy.CheckExtension("nautical") == "Available":
    arcpy.CheckOutExtension("nautical")
    print ("License checked out successfully ....")
else:
    raise ex("Maritime license is unavailable.")
                
#Tool variables
in_feature_catalogue = r"C:\Program Files\ArcGIS\Pro\Resources\Maritime\S-101 ENCs_draft_0.9.1.1.xml"
target_workspace = r" C:\Data\ImpostS100FC.gdb"

# Execute the tool
arcpy.ImportS100FeatureCatalogue_maritime(in_feature_catalogue, target_workspace)

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

  • Basic: Нет
  • Standard: Обязательно ArcGIS Maritime
  • Advanced: Обязательно ArcGIS Maritime

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