A TPK file contains one or more zoom levels This interface is an abstraction of a zoom level providing the coverage values of the zoom level (minColumn, minRow, maxColumn, maxRow) and the ability to retrieve tiles for a particular coverage in that zoom level.
A zoom level consists of 1 or more bundles A bundle is physically always 128 columns by 128 rows but may be "logically" smaller (ie it doesn't necessarily have data for each row/column)
Tile object returned to the reader
Temporary utility object to keep tile location/length info Note that in a V1 cache only the tileDataOffset field is utilized as the length is stored at that location (32-bit int) and the actual tile data is at tileDataOffset+4 In a V2 cache both fields are used and populated directly from the tile's index entry
Sort comparator -- sorts tiles by bundle and then the tile data offset
TPKZoomLevel interface implementation for ESRI Compact Cache V1 files TPK is a ZIP archive In V1 the bundle index is a separate file from the bundle data and index entries are each 5-bytes long.
TPKZoomLevel interface implementation for ESRI Compact Cache V2 files TPK is a ZIP archive In V2 the bundle index is a incorporated into the same file as the bundle data.
Copyright © 1996–2020 Geotools. All rights reserved.