ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

Unzip MGCP Cell And Import

  • Resumen
  • Uso
  • Sintaxis
  • Muestra de código
  • Entornos
  • Información de licenciamiento

Resumen

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

Uso

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

Sintaxis

arcpy.defense.UnzipCellAndImport(Root_Folder, Target_Geodatabase)
ParámetroExplicaciónTipo de datos
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

Salida derivada

NombreExplicaciónTipo de datos
Output_Geodatabase

The database where shape files from Root_Folder have been loaded.

Workspace

Muestra de código

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")

Entornos

  • Espacio de trabajo actual

Información de licenciamiento

  • Basic: No
  • Standard: Requiere Production Mapping and Defense Mapping
  • Advanced: Requiere Production Mapping and Defense Mapping

Temas relacionados

  • An overview of the Geodatabase toolset

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

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

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal