ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Using a geoprocessing package

  • Opening a geoprocessing package
  • Working with package results
  • Locating package contents

Geoprocessing packages are a convenient way to share geoprocessing workflows as a single compressed file. A geoprocessing package (.gpk) can be shared with others across a local file system using copy and paste, as an attachment in an e-mail, or by uploading to ArcGIS Online.

Note:

Geoprocessing packages were introduced in ArcGIS 10.1 for Desktop. You cannot create or use geoprocessing packages with versions earlier than 10.1.

Learn more about geoprocessing packages

Opening a geoprocessing package

You can open a geoprocessing package geoprocessing package using one of the methods below; its contents will automatically be added to your application (ArcMap, ArcGlobe, or ArcScene).

  • In the Catalog window, Search window, or Windows Explorer, double-click the geoprocessing package. You can also drag the package onto the Results window or the ArcMap canvas.
  • In the Catalog window, right-click the package and click Unpack.
  • From ArcGIS Online, open any package by clicking the Open button.
    Note:

    Opening a package from ArcGIS Online, an e-mail client, or the file system opens ArcMap, and a new map document is created with the contents of the package. If ArcMap is already open, the contents of the package are added to the existing map document.

What gets added to the application

When you open a geoprocessing package using one of the above methods, the contents of the package are added to your application.

  • A new group layer is created in the table of contents with the same name as the package. All data within the package becomes sublayers of this group layer. (Most geoprocessing packages contain input and output data. If the package doesn't contain data, a group layer is not created.)
  • In the Results window under the Shared node, a new node is created with the same name as the package. Beneath this node are the results from the package. The Results window opens automatically (if it is not already open) when a geoprocessing package is opened.

Layers and tasks added to ArcMap from a geoprocessing package

Using the Search window to find packages

If you want to search for geoprocessing packages in the Search window, you must index the folders where your packages reside so they can be found.

Geoprocessing packages can only be found with the search filter set to All or Tools.

Learn more about using search in ArcGIS

Working with package results

When a geoprocessing package has been opened, one or more results are added to the Results window beneath the Shared node. You work with each result as follows:

  • To execute the tool that created the result, right-click the result and choose Open. This opens the tool's dialog box. You can then change parameters if desired and click OK to execute. Alternatively, you can choose Re Run to immediately execute the tool. This is the same as opening the dialog box, leaving the parameters unchanged, and clicking OK.
  • You can study the logic and analysis behind the result by right-clicking the result and choosing Edit. If the result was based on a model tool, the model opens in ModelBuilder. If the result is based on a script tool, the script opens in the default script editor. You can then modify the tool as needed by editing the underlying model or script.
    Note:

    Shared tasks and their toolboxes are read-only and cannot be edited directly. To edit and modify a shared task, use the Save As functionality within ModelBuilder or your Python IDE to save your edits.

  • A package can have additional files, which appear beneath the Associated Files node as illustrated below. You can double-click these files to open them.

    Results window

    Shared result with associated file

    You can right-click an associated file and choose one of three options:
    1. Open will open the file with its default application.
    2. Copy Location will copy the path to the file to the clipboard.
    3. Locate will open the folder containing the associated file in the Catalog window.

Learn more about working with results

Locating package contents

When you open a geoprocessing package, the contents of the package (tools, toolboxes, data, and associated files) are extracted to a folder in your user profile.

  • A typical Windows 7 location:

    C:\Users\<username>\Documents\ArcGIS\Packages

To change the default location where your packages will be unpacked, open ArcMap Options from the Customize menu. From the Sharing tab, find the Packaging section, Choose Use user specified location and browse to the new folder location.

Changing the unpack location for all package types

If you want to unpack your package to another folder without it being added to your application, use the Extract Package tool.

To find and locate the contents of a shared geoprocessing package, from the Results window, right-click the shared task and click Locate. You are navigated to the location of the task within the Catalog window.

Locating contents of a geoprocessing package

Related topics

  • Using the Results window
  • An overview of the Package toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2020 Esri. | Privacy | Legal