Esri Tile Package (TPKX) Reader/Writer

FME can read and write data in the Esri Tile Package (TPKX) format.

This format contains raster tiles stored using the Esri Compact Cache V2 specification and provides enhanced performance when accessing tiles, especially when dealing with network file shares and cloud storage.

The Esri Tile Package (TPKX) is a compressed archive file. The contents of a TPKX archive have the following structure:

  • The metadata (root.json) describing various properties that are required to visualize the cache.

  • The metadata (iteminfo.json) describing the various properties needed to identify and preview the item without loading all of its contents.

  • A thumbnail image.

  • A tile directory containing the cached tile data stored in the Compact Cache V2 format at various Levels of Detail (LOD).

Product and System Requirements

Format

FME Platform

Operating System

Reader/Writer

FME Form

FME Flow

FME Flow Hosted

Windows 64-bit

Linux

Mac

Reader

Yes

Yes

Yes

Yes

Yes

Yes

Writer

Yes

Yes

Yes

Yes

Yes

Yes

Reader Overview

The reader processes data from both local and remote .tpkx files, containing raster tiles stored using the Esri Compact Cache V2 storage.

FME considers a single TPKX file to be a dataset and prefers files with the .tpkx extension. The file must contain the JSON metadata as well as the tile directory containing the cached tiles to be valid for reading with the Esri Tile Package reader.

Users can select subsets of data based on a spatial envelope as well as specify a specific Level of Detail (LOD) to read the dataset with.

Writer Overview

The writer can output rasters to a local .tpkx file.

Note  Only archived .tpkx output is supported. Writing directly to a Compact Cache V2 exploded cache directory structure (conf.xml) is not supported.

The output tile package will contain the root.json and iteminfo.json metadata as well as the tile directory containing the generated Compact Cache V2 .bundle tile caches at the specified levels of details.

Features must be in either Spherical Mercator (EPSG:3857) or WGS 84 Geographic (EPSG:4326) projections.

FME Raster Features

FME raster features represent raster data and use several concepts that are unlike those used in the handling of vector data.

For comprehensive information about how FME processes raster data, see Rasters.

Esri Tile Package (TPKX) stores raster data as pre-rendered tiles organized in a tile cache. It does not support multiple bands or per-band data types, since the imagery is already rendered into image tiles.

For each raster, there is only a single feature returned, since this feature will contain the entire tiled raster.

Resources

Information

Link

Esri Tile Package specification

Esri Tile Package Specification

Esri Compact Cache V2

Compact Cache V2 Specification