ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

Help

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Plus...

Extract Files

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

Esri 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.

Utilisation

  • 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.

Syntaxe

ExtractFiles_defense (Input_Zip_Folder, Output_Workspace)
ParamètreExplicationType de données
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

Exemple de code

ExtractFiles example (Python window)

The following code sample demonstrates how to execute the tool.

# Description: Unzips all files from a folder
# Requirements: Esri 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')

Environnements

Cet outil n'utilise aucun environnement de géotraitement

Informations de licence

  • ArcGIS Desktop Basic: Non
  • ArcGIS Desktop Standard: Requiert Defense Mapping
  • ArcGIS Desktop Advanced: Requiert Defense Mapping

Rubriques connexes

  • An overview of the Utilities toolset

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2017 Esri. | Confidentialité | Légal