down_loader: Downloader for tiles

Description Usage Arguments Details Value Examples

View source: R/cache.R

Description

Tiles are cached with the native name of the source.

Usage

1
down_loader(x, query_string, clobber = FALSE, ..., debug = FALSE)

Arguments

x

tiles object

query_string

an api query template (see Details)

clobber

if 'TRUE' re download any existing tiles

Details

'query_string' takes the form of a templae, see examples

Value

WIP

Examples

1
2
3
mapbox_query_string <- paste0("https://api.mapbox.com/v4/mapbox.satellite/{zoom}/{x}/{y}.jpg90",
"?access_token=",
Sys.getenv("MAPBOX_API_KEY"))

hypertidy/ceramic documentation built on Dec. 2, 2018, 12:19 p.m.