ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Extract Files

  • 概要
  • 使用法
  • 構文
  • コードのサンプル
  • 環境
  • ライセンス情報

概要

ArcGIS Defense Mapping cartographic production tool that extracts all of the contents of a ZIP file to a specified folder. For example, you can unzip the file geodatabase that is installed with Defense Mapping.

使用法

  • There are zipped file geodatabases that are installed with Defense Mapping. If you want to use one of these geodatabases, you will need to extract the files before using it. The geodatabases are installed at <Installation location>\ArcGIS\EsriDefenseMapping\Desktop<release version>\ReferenceData.

構文

arcpy.defense.ExtractFiles(Input_Zip_Folder, Output_Workspace)
パラメーター説明データ タイプ
Input_Zip_Folder

The path to the ZIP folder from which the tool will unzip the contents.

File
Output_Workspace

The folder location where the files will be extracted.

Folder

コードのサンプル

ExtractFiles example (Python window)

The following code sample demonstrates how to execute the tool.

# Description: Unzips all files from a folder
# Requirements: ArcGIS Defense Mapping

# Import arcpy module
import arcpy

# Check out the extension
arcpy.CheckOutExtension('defense')

# Set parameters
Input_Zip_Folder = r'C:\Program Files (x86)\ArcGIS\EsriDefenseMapping\Desktop10.3\ReferenceData\Cartography.zip'
Output_Workspace = r'C:\Data\10.3\Production\DefenseCartography'

# Execute the tool
arcpy.defense.ExtractFiles(Input_Zip_Folder, Output_Workspace)

# Check in the extension
arcpy.CheckInExtension('defense')

環境

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

ライセンス情報

  • Basic: いいえ
  • Standard: 次のものが必要 Defense Mapping
  • Advanced: 次のものが必要 Defense Mapping

関連トピック

  • An overview of the Utilities toolset

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル