ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Справка
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Картографическая платформа вашей организации

ArcGIS Desktop

Полноценная профессиональная ГИС

ArcGIS Enterprise

ГИС предприятия

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. | Конфиденциальность | Правовая информация