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

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)
}