Import From GIFD/TGD (Defense Mapping)

Niveau de licence :BasicStandardAdvanced

Récapitulatif

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

Utilisation

Syntaxe

ImportGIFDTGDMetadata_defense (in_workspace, in_dataset_areas)
ParamètreExplicationType de données
in_workspace

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

Workspace
in_dataset_areas

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

Feature Layer

Exemple de code

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.

# ImportGIFDTGDMetadata_Example.py
# Description: Imports GIFD or TGD metadata into TFDM
# Requirements: Defense Mapping extension

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

# 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)

arcpy.CheckInExtension("defense")

Environnements

Thèmes connexes

Informations de licence

ArcGIS for Desktop Basic: Annuler
ArcGIS for Desktop Standard: Requis Defense Mapping
ArcGIS for Desktop Advanced: Requis Defense Mapping
4/26/2014