Import MGCP Metadata (Topographic Production)

サマリー

Imports Multinational Geospatial Co-production Program (MGCP) metadata into an MGCP database to perform maintenance on cells and subregions.

使用法

  • The metadata can only be imported into an MGCP database that already contains the MGCP_Metadata feature dataset.

  • The input XML files must match the ISO 19139 specification and be compliant with TRD 2, TRD 3, and TRD 4.

  • Data is imported into the following feature classes using this tool:

    • The Cell feature class contains metadata about individual 1x1-decimal degree extents with which the data is associated.
    • The Subregion feature class contains metadata about the specific area within the cell where the data meets requirements for a specific purpose.
    • The Source feature class supplies information about the source used in the feature extraction.

パラメーター

ラベル説明データ タイプ
Metadata Files

The XML files that contain the metadata to import.

File
Cell Features

The Cell feature class where the metadata will be imported.

Feature Layer

派生した出力

ラベル説明データ タイプ
Output Cell Features

Cell that has been updated with information from input metadata XML.

Feature Layer

arcpy.topographic.ImportMetadata(files, in_cell_features)
名前説明データ タイプ
files
[files,...]

The XML files that contain the metadata to import.

File
in_cell_features

The Cell feature class where the metadata will be imported.

Feature Layer

派生した出力

名前説明データ タイプ
out_cells

Cell that has been updated with information from input metadata XML.

Feature Layer

コードのサンプル

Import Metadata example (stand-alone script)

In this example, the E022N02.xml file is imported into the MGCP_TRD_4_4 geodatabase.

# Name: ImportMGCPMetadata_sample.py
# Description: Imports Metadata XML file in to Cell feature

# Import System Modules
import arcpy

# Check Out Extensions
arcpy.CheckOutExtension('Defense')

# Setting Local Variables
metadata_file = r'C:\ProProjects\ImportMetadata\E022N02.xml'
cell_feature = r'C:\ProProjects\ImportMetadata\MGCP_TRD_4_4.gdb'

# Importing metadata xml into TRD 4.4 database
arcpy.topographic.ImportMetadata(metadata_file, cell_feature)

# Check In Extensions
arcpy.CheckInExtension('Defense')

環境

このツールは、ジオプロセシング環境を使用しません。

ライセンス情報

  • Basic: No
  • Standard: 次のものが必要 Defense Mapping
  • Advanced: 次のものが必要 Defense Mapping

関連トピック