Import From GIFD/TGD Metadata (Defense Mapping)


Imports feature-level metadata from Geospatial Intelligence Feature Database (GIFD) or Theatre Geospatial Database (TGD) geodatabases to the Topographic Features Data Management (TFDM) DatasetAreas and CollectionAreas feature classes.



ImportGIFDTGDMetadata_defense (in_workspace, in_dataset_areas)
ParameterExplanationData Type

The workspace that stores the GIFD or TGD features. Feature-level metadata from this workspace will be exported to the TFDM DatasetAreas and CollectionAreas feature classes.


The DatasetAreas features to which the importer will write GIFD or TGD feature-level metadata. The tool also writes feature-level metadata to CollectionAreas features from the same workspace that stores in_dataset_areas features.

Feature Layer

Code Sample

ImportGIFDTGDMetadata example (stand-alone Python script)

The following script executes the ImportGIFDTGDMetadata function. This function updates attribute values of TFDM Features that intersect GIFD or TGD features.

# Description: Imports GIFD or TGD metadata into TFDM
# Date: October 2010

# Import arcpy and the defense mapping toolbox
import arcpy
arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Defense Mapping Tools.tbx')

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

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

# Import GIFD/TGD Metadata
arcpy.ImportGIFDTGDMetadata_defense(TGD_workspace, DatasetAreasLayer)


This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: Requires Defense Mapping
ArcInfo: Requires Defense Mapping