Export To MGCP (Defense Mapping)

ライセンス レベル:BasicStandardAdvanced

サマリ

Exports Topographic Features Data Management (TFDM) DatasetAreas and CollectionAreas features to Multinational Geospatial Co-production Program (MGCP) Cell, Subregion, and Source metadata feature classes in an MGCP geodatabase.

使用法

構文

ExportToMGCP_defense (in_dataset_areas, in_cell_features)
パラメータ説明データ タイプ
in_dataset_areas

The input TFDM DatasetAreas features. The tool reads CollectionAreas features from the same workspace that stores these features.

Feature Layer
in_cell_features

The MGCP Cell features the tool will write to. The tool reads Subregion and Source features from the same workspace that stores these features.

Feature Layer

コードのサンプル

ExportToMGCP example (stand-alone Python script)

The following script creates new Cell, Subregion, and Source features from TFDM DatasetAreas and CollectionAreas feature classes.

# ExportToMGCP_Example.py
# Description: Exports TFDM metadata to MGCP
# Requirements: Esri Defense Mapping solution

# Import arcpy
import arcpy
arcpy.CheckOutExtension("defense")

# variables for data paths and feature layers
DatasetAreas = "C:\\data\\tfdm.gdb\\LTDS\\DatasetAreas"
Cell = "C:\\data\\TFDM_Metadata_Tool_Data\\Import\\Import_MX_MGCP_TRD3.gdb\\MGCP_Metadata\\Cell"
DatasetArea_features = "DatasetAreas_Layer"
MGCP_Cell_features = "Cell_Layer"

# TFDM DatasetArea feature layer
arcpy.MakeFeatureLayer_management(DatasetAreas, DatasetArea_features)

# MGCP Cell Feature Layer
arcpy.MakeFeatureLayer_management(Cell, MGCP_Cell_features)

# Export TFDM metadata To MGCP
arcpy.ExportToMGCP_defense(DatasetArea_features, MGCP_Cell_features)

arcpy.CheckInExtension("defense")

環境

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

関連トピック

ライセンス情報

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