getFootprints: Get Footprints

Description Usage Arguments Examples

Description

Get individual scene footprints from several EarthExplorer csv metadata files

Usage

1
getFootprints(files, method = "union")

Arguments

files

Character. Vector of input csv filenames (from EarthExplorer)

method

Function/Character. Function (e.g. mean, median) to calculate summary of footprint vertices. "union" (as character) is the default and computes vertices as the outermost bounding box of all footprints. Other built-in summary functions (e.g. mean, median) do not require quotes.

Examples

1
2
3
4
5
6
7
fl <- list.files('inst/extdata/', pattern = glob2rx('*.csv'), full.names = TRUE)
fp <- getFootprints(fl)
plot(fp)

# or if you want to get fancy....
library(mapview)
mapView(fp)

bendv/landsatmeta documentation built on May 12, 2019, 10:58 a.m.