Extract Package (Data Management Tools)
Summary
Extracts the contents of a package to a specified folder. The output folder will be updated with the extracted contents of the input package.
Usage
The following are supported package types:
Geoprocessing Packages (
.gpkand.gpkx)Layer Packages (
.lpkand.lpkx)Locator Packages (
.gcpk)Map Packages (
.mpkand.mpkx)Mobile Map Packages (
.mmpk)Project Packages and Project Templates (
.ppkxand.aptx)Scene Layer Packages (
.slpk)Tile Packages (
.tpkand.tpkx)Vector Tile Packages (
.vtpk)
The output folder can be a new folder or an existing folder. When extracting to an existing folder, the contents of the package will be appended to existing files and folders. If the output folder contains the extracted contents of the package, the existing contents will be overwritten.
Packages with attachments will have their attached files unpacked to the
commondata\userdata\subfolder in the output folder. Typically, the files in a package are supporting files, such as.pdfor.docx, or an image. Browse to the extracted directory in Microsoft File Explorer to open these files.When extracting vector tile packages (
.vtpk), the contents of the package will be extracted to the output folder. The cache storage format can be converted from compact (.bundlefiles) to exploded (.pbffiles) using the Storage Format Type parameter. You can use the extracted.pbffiles in other client applications, such as Mapbox.Note:
Extracting a flat cache may be slow and result in the extraction of billions of tiles depending on the data extent, levels of detail of the package, and hardware configuration.
When extracting vector, tile, or scene layer packages (
.vtpk,.tpk,.tpkx, or.slpk), the Cache Package parameter is inactive.When extracting vector, tile, or version 1.7 and later scene layer packages, you can extract the contents of the package to a folder in the file system or to an object store located in the cloud such as Amazon S3, Azure Blob storage, or Alibaba OSS. This content is ready to serve as a tile or scene layer and the location you choose must be registered as a user-managed data store in ArcGIS Enterprise.
You can build a connection file (
.acs) using the Create Cloud Storage Connection File tool.Older versions of scene layer packages can be upgraded to the latest version using the Upgrade Scene Layer tool.
Note:
When extracting scene layer packages to an object store in the cloud (
.i3sREST), the scene cache storage format is not the same as when extracting to a folder in the file system (.eslpk), and the two formats are not interchangeable.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Package |
The input package that will be extracted. |
File |
|
Output Folder (Optional) |
The output folder that will contain the contents of the package. If the specified folder does not exist, a folder will be created. |
Folder |
|
Cache Package (Optional) |
Specifies whether a copy of the package will be cached to your profile. When extracting a package, the output is first extracted to your user profile and appended with a unique ID before a copy is made to the directory specified in the Output Folder parameter. Downloading and extracting subsequent versions of the same package will only update this location. You do not need to manually create a cached version of the package in your user profile when using this parameter. This parameter is not enabled if the input package is a vector tile package (
|
Boolean |
|
Storage Format Type (Optional) |
Specifies the storage format that will be used for the extracted cache. This parameter is applicable only when the input package is a vector tile package (
|
String |
|
Create Ready To Serve Cache Dataset (Optional) |
Specifies whether a ready-to-serve format for ArcGIS Enterprise will be created. This parameter is enabled only when the input package is a vector tile package (
|
Boolean |
|
Target Cloud Connection (Optional) |
The target |
Folder |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes