print.image_collection: Print image collection information

Description Usage Arguments Examples

View source: R/image_collection.R

Description

Prints information about images in an image collection.

Usage

1
2
## S3 method for class 'image_collection'
print(x, ..., n = 6)

Arguments

x

Object of class "image_collection"

...

Further arguments passed to the generic print function

n

Number of images for which details are printed

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# create image collection from example Landsat data only 
# if not already done in other examples
if (!file.exists(file.path(tempdir(), "L8.db"))) {
  L8_files <- list.files(system.file("L8NY18", package = "gdalcubes"),
                         ".TIF", recursive = TRUE, full.names = TRUE)
  create_image_collection(L8_files, "L8_L1TP", file.path(tempdir(), "L8.db")) 
}

L8.col = image_collection(file.path(tempdir(), "L8.db"))
print(L8.col)

appelmar/gdalcubes_R documentation built on Sept. 11, 2019, 5:47 a.m.