Learn R Programming

sits (version 1.1.0)

.sits_get_samples_from_sf: Transform an sf object into a samples file

Description

Transform an sf object into a samples file

Usage

.sits_get_samples_from_sf(
  sf_object,
  label,
  label_attr,
  start_date,
  end_date,
  n_sam_pol,
  pol_id
)

Value

A tibble with information the samples to be retrieved.

Arguments

sf_object

sf object that describes the data to be retrieved.

label

Default label for samples.

label_attr

sf attribute that describes the label.

start_date

Start date for the data set.

end_date

End date for the data set.

n_sam_pol

Number of samples per polygon to be read.

pol_id

ID attribute for polygons shapefile. (for POLYGON or MULTIPOLYGON shapefile).

Author

Gilberto Camara