Export Metadata (Defense Mapping)

ライセンス レベル:BasicStandardAdvanced

サマリ

Exports the Multinational Geospatial Co-production Program (MGCP) metadata datasets (Cell, Subregion, and Source feature classes) to an XML file.

使用法

構文

ExportMetadata_defense (in_cell_features, export_location)
パラメータ説明データ タイプ
in_cell_features

The MGCP Cell feature layer to export.

Feature Layer
export_location

The directory where the metadata XML files will be created.

Folder

コードのサンプル

ExportMetadata sample (stand-alone Python script)

In this example, the Metadata feature dataset is exported from the MGCP_TRD2 geodatabase to an XML file in the Metadata directory.

# Name: ExportMetadata_Example.py
# Description: Exports feature classes from an MGCP workspace to shapefiles
# Requirements: Esri Defense Mapping solution

# Import arcpy module
import arcpy

# Check out a DefenseMapping extension license
arcpy.CheckOutExtension("defense")

# Local variables:
in_cell_features = "C:\\Data\\Defense\\MGCP_TRD2.mdb\\MGCP_Metadata\\Cell"
in_export_location = "C:\\Data\\Defense\\Metadata"

# Process: Export Metadata
arcpy.ExportMetadata_defense(in_cell_features, in_export_location)

# Check in the Defense Mapping extension
arcpy.CheckInExtension("defense")

環境

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

関連トピック

ライセンス情報

ArcGIS for Desktop Basic: ×
ArcGIS for Desktop Standard: 次のものが必要 Defense Mapping
ArcGIS for Desktop Advanced: 次のものが必要 Defense Mapping
4/26/2014