Unzip Cell And Import (Defense Mapping)

ライセンス レベル:BasicStandardAdvanced

サマリ

Esri Defense Mapping geoprocessing tool that unzips and imports compressed Multinational Geospatial Co-production Program (MGCP) 1-degree-by-1-degree cell packages (*.zip) into a target geodatabase.

使用法

構文

UnzipCellAndImport_defense (Root_Folder, Cross-Reference_Database, Target_Geodatabase)
パラメータ説明データ タイプ
Root_Folder

The root folder that contains one or more compressed shapefile cell packages in a .zip file.

Folder
Cross-Reference_Database

The cross-reference database that contains the data mapping rules for ingesting the unzipped shapefiles into the target geodatabase.

Workspace
Target_Geodatabase

The geodatabase to where the unzipped shapefiles will be imported.

Workspace

コードのサンプル

UnzipCellAndImport example (stand-alone script)

The following stand-alone script demonstrates how to use the UnzipCellAndImport tool.

# Name: UnzipCellAndImport_Example.py
# Description: Unzips an MGCP Cell package and loads into MGCP geodatabase
# Requirements: Esri Defense Mapping, Esri Production Mapping

import arcpy

# check out a defense and production mapping license
arcpy.CheckOutExtension("defense")
arcpy.CheckOutExtension("foundation")

# folder that contains MGCP cell packages (ZIPs)
rootFolder="c:/defense"

# cross reference & target geodatabase
crossRefDb="c:/cross_ref/MGCP_TRD4_SHP_to_MGCP_TRD4_GDB.mdb"
targetGdb="c:/data/MGCP_TRD4.gdb"

# execute the tool
arcpy.UnzipCellAndImport_defense(rootFolder,crossRefDb,targetGdb)

# check in defense and production mapping licenses
arcpy.CheckInExtension("defense")
arcpy.CheckInExtension("foundation")

環境

関連トピック

ライセンス情報

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