mapbox / tilejson-spec

JSON format for describing map tilesets.
255 stars 52 forks source link

Tile Pack Batches #71

Open nitrag opened 1 year ago

nitrag commented 1 year ago

Mapbox iOS SDK hints that it may be possible to customize the batch sizing of tile packs. I would like to create a batch for 11-12 since I don't need >=13 and it's throwing me over the 750 limit.

The zoom leveling scheme for the tile batches can be defined in Tile JSON, otherwise the default scheme is used...

@property (nonatomic, readonly, nonnull, copy) NSString *styleURI;

/**
 * Minimum zoom level for the tile package.
 *
 * Note: the implementation loads and stores the loaded tiles
 * in batches, each batch has a pre-defined zoom range and it contains
 * all child tiles within the range. The zoom leveling scheme for the tile
 * batches can be defined in Tile JSON, otherwise the default scheme is used:
 * - Global coverage: 0 - 5
 * - Regional information: 6 - 10
 * - Local information: 11 - 14
 * - Streets detail: 15 - 16
 *
 * Internally, the implementation maps the given tile pack zoom range
 * and geometry to a set of pre-defined batches to load, therefore
 * it is highly recommended to choose the `minZoom` and `maxZoom` values
 * in accordance with the tile batches zoom ranges (see the list above).
 */
pnorman commented 1 year ago

This doesn't seem related to the tilejson spec