Learn R Programming

sits (version 1.12.0)

.sits_from_shp: Obtain timeSeries from WTSS server, based on a SHP file.

Description

reads a shapefile and retrieves a sits tibble containing time series from a coverage that are inside the SHP file. The script uses the WTSS service, taking information about coverage, spatial and temporal resolution from the WTSS configuration.

Usage

.sits_from_shp(shp_file, coverage, start_date = NULL, end_date = NULL,
  bands = NULL, prefilter = "1", label = "NoClass")

Arguments

shp_file

Name of a SHP file which provides the boundaries of a region of interest.

coverage

A tibble with metadata about the coverage.

start_date

The start date of the period.

end_date

The end date of the period.

bands

A string vector with the names of the bands to be retrieved.

prefilter

A string related to data correction ("0" - none, "1" - no data correction, "2" - cloud correction, "3" - no data and cloud correction).

label

A string with the label to attach to the time series.

Value

A sits tibble.