ceramic_tiles: Tile files

View source: R/cache.R

ceramic_tilesR Documentation

Tile files

Description

Find existing files in the cache. Various options can be controlled, this is liable to change pending generalization across providers.

Usage

ceramic_tiles(
  zoom = NULL,
  type = "mapbox.satellite",
  source = "api.mapbox.com",
  glob = NULL,
  regexp = NULL
)

Arguments

zoom

zoom level

type

imagery type

source

imagery source

glob

see fs::dir_ls

regexp

see fs::dir_ls

Value

A data frame of tile file paths with tile index, zoom, type, version, source and spatial extent.

Examples

if (interactive() && !is.null(get_api_key())) {
 tiles <- ceramic_tiles(zoom = 0)
}

hypertidy/ceramic documentation built on Feb. 28, 2024, 11:27 p.m.