Description Usage Arguments Value See Also Examples
Get Landsat image(s)
1 | lsat_image(x, overwrite = FALSE, ...)
|
x |
(character) A file name for a geotif file, will be more general soon. |
overwrite |
(logical) Will only overwrite existing path if |
... |
Curl args passed on to |
Path to the file, whether found in cache or new file requested.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# pass an image name
(res <- lsat_list(max = 40))
tifs <- grep("\\.TIF$", res$Key, value = TRUE)
lsat_image(tifs[5])
lsat_image(tifs[6])
lsat_image(tifs[9])
# caching
## requesting an image you already have will return path if found
lsat_image(tifs[5])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.