Export To TGD (Defense Mapping)

许可等级:BasicStandardAdvanced

摘要

Exports Topographic Features Data Management (TFDM) DatasetAreas and CollectionAreas attribute values to feature-level metadata in a Theatre Geospatial Database (TGD) geodatabase. TGD features that intersect DatasetAreas and CollectionAreas features are updated with attribute values from the TFDM geodatabase.

用法

语法

ExportToTGD_defense (in_dataset_areas, in_workspace)
参数说明数据类型
in_dataset_areas

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

Feature Layer
in_workspace

The workspace that stores the TGD features.

Workspace

代码实例

ExportToTGD example (stand-alone Python script)

The following script executes the ExportToTGD function. TFDM features that intersect TGD features transfer some attribute values to those features.

# ExportToTGD_Example.py
# Description: Exports TFDM metadata to TGD
# Requirements: Esri Defense Mapping solution

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

# variables for the TFDM feature layer and workspace
DatasetAreas = "C:\\data\\tfdm.gdb\\LTDS\\DatasetAreas"
DatasetArea = "DatasetAreas_Layer"
TGD_Workspace = "C:\\data\\TFDM_Metadata_Tool_Data\\Export\\Export_Tactical_3_2.gdb"

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

# Export To TGD
arcpy.ExportToTGD_defense(DatasetArea, TGD_Workspace)

arcpy.CheckInExtension("defense")

环境

此工具不使用任何地理处理环境

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 需要 Defense Mapping
ArcGIS for Desktop Advanced: 需要 Defense Mapping
4/27/2014