ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

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

ArcMap

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

Unzip MGCP Cell And Import

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

Résumé

Unzips and imports compressed Multinational Geospatial Co-production Program (MGCP) 1-degree-by-1-degree cell packages (*.zip) into a target geodatabase.

Utilisation

  • This tool recursively searches the Root Folder for ZIP files. ZIP files must contain an MGCP cell package that includes one or more shapefiles and a metadata file.

  • If no shapefiles are found in the unzipped archive, this tool will continue execution.

  • This tool uses other ArcGIS Defense Mapping and ArcGIS Production Mapping tools. You must check out a Production Mapping (foundation) license to use this tool.

  • Target Geodatabase must be an MGCP geodatabase and have an MGCP_Metadata feature dataset. The feature dataset must contain a Cell feature class.

Syntaxe

arcpy.defense.UnzipCellAndImport(Root_Folder, Target_Geodatabase)
ParamètreExplicationType de données
Root_Folder

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

Folder
Target_Geodatabase

The geodatabase where the unzipped shapefiles will be imported.

Workspace

Sortie dérivée

NomExplicationType de données
Output_Geodatabase

The database where shape files from Root_Folder have been loaded.

Workspace

Exemple de code

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: ArcGIS Defense Mapping, ArcGIS 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)
root_folder="c:\\defense"

# execute the tool
arcpy.UnzipCellAndImport_defense(root_folder,target_gdb)

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

Environnements

  • Espace de travail courant

Informations de licence

  • Basic: Non
  • Standard: Requiert Production Mapping and Defense Mapping
  • Advanced: Requiert Production Mapping and Defense Mapping

Rubriques connexes

  • An overview of the Geodatabase toolset

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

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

A propos d'Esri

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