Import S-100 Feature Catalogue (Maritime)

Mit der ArcGIS Maritime-Lizenz verfügbar.

Zusammenfassung

Imports the contents of an S-100 feature catalogue to 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 Navigational Chart
  • S-128 Catalogue of Nautical Products
  • S-201 Aids to Navigation Information

Verwendung

  • The Target Workspace parameter value 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 to a geodatabase. If multiple geodatabases of the same S-100 standard are needed, it is recommended that you copy the geodatabase after running this tool.

  • WGS84 is the default coordinate system. A different coordinate system can be specified for localized datasets using the Coordinate System parameter if necessary.

    Learn more about working with coordinate systems

  • For S-101, it is recommended that you use an x,y resolution of 1e-8 decimal degrees and an x,y tolerance of 3.5355339e-8 decimal degrees. You can update these values on the Environments tab of the Geoprocessing pane.

Parameter

BeschriftungErläuterungDatentyp
S-100 Feature Catalogue

The S-100 Feature Catalogue is an .xml file that follows the S-100 Feature Catalogue format as defined by the IHO. It describes the content of a data product and its specifications. The default file location is <installation location>\ArcGIS Maritime\Product Files\<version>\S-101\S-101_FC_1.1.0, provided the Maritime product files are installed.

File
Target Workspace

The geodatabase to which the schema will be written.

Workspace
Admin Connection
(optional)

Vorversion:

This parameter is no longer supported. It remains only for the backward compatibility of scripts and models but is not essential to the tool operation.

String
Coordinate System
(optional)

The coordinate system of the output workspace. The default is WGS84.

Coordinate System
Subtype Mapping File
(optional)

The subtype mapping .xml file used to specify feature classes that each S-100 feature will be subtyped within. If subtype mapping is not specified, the created data model will have separate feature classes for each S-100 object type. For S-101, it is recommended that you use the S-101FeatureClassMap.xml file. The default file location is C:/<ArcGIS Pro installation location>\Pro\Resources\Maritime.

File
Configuration Keyword
(optional)

The configuration keyword applies to enterprise geodatabases data only. It determines the storage parameters of the database table.

String

Abgeleitete Ausgabe

BeschriftungErläuterungDatentyp
Output Workspace

The geodatabase to which the schema will be written.

Workspace

arcpy.maritime.ImportS100FeatureCatalogue(in_feature_catalogue, target_workspace, {admin_connection}, {coordinate_system}, {subtype_mapping}, {config_keyword})
NameErläuterungDatentyp
in_feature_catalogue

The S-100 Feature Catalogue is an .xml file that follows the S-100 Feature Catalogue format as defined by the IHO. It describes the content of a data product and its specifications. The default file location is <installation location>\ArcGIS Maritime\Product Files\<version>\S-101\S-101_FC_1.1.0, provided the Maritime product files are installed.

File
target_workspace

The geodatabase to which the schema will be written.

Workspace
admin_connection
(optional)

Vorversion:

This parameter is no longer supported. It remains only for the backward compatibility of scripts and models but is not essential to the tool operation.

String
coordinate_system
(optional)

The coordinate system of the output workspace. The default is WGS84.

Coordinate System
subtype_mapping
(optional)

The subtype mapping .xml file used to specify feature classes that each S-100 feature will be subtyped within. If subtype mapping is not specified, the created data model will have separate feature classes for each S-100 object type. For S-101, it is recommended that you use the S-101FeatureClassMap.xml file. The default file location is C:/<ArcGIS Pro installation location>\Pro\Resources\Maritime.

File
config_keyword
(optional)

The configuration keyword applies to enterprise geodatabases data only. It determines the storage parameters of the database table.

String

Abgeleitete Ausgabe

NameErläuterungDatentyp
output_workspace

The geodatabase to which the schema will be written.

Workspace

Codebeispiel

ImportS100FeatureCatalogue example (stand-alone script)

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

# 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.")
                
arcpy.env.XYResolution = "0.00000001 DecimalDegrees"
arcpy.env.XYTolerance = "0.000000035355339 DecimalDegrees"

# Tool variables
in_feature_catalogue = r"C:\profiles\ArcGIS Maritime\Product Files\3.2\S-1-1_FC_1.1.0.xml"
admin_connection=None
coordinate_system=None
subtype_mapping=None
config_keyword=""



target_workspace = r"C:\Data\ImportS100FC.gdb"

# Run the tool
arcpy.ImportS100FeatureCatalogue_maritime(in_feature_catalogue,target_workspace,admin_connection,coordinate_system,subtype_mapping,config_keyword)

Lizenzinformationen

  • Basic: Nein
  • Standard: Erfordert ArcGIS Maritime
  • Advanced: Erfordert ArcGIS Maritime

Verwandte Themen