Learn R Programming

sits (version 1.1.0)

.sits_get_samples_from_shp: Transform a shapefile into a samples file

Description

Transform a shapefile into a samples file

Usage

.sits_get_samples_from_shp(
  shp_file,
  label,
  shp_attr,
  start_date,
  end_date,
  n_shp_pol,
  shp_id
)

Value

A tibble with information the samples to be retrieved.

Arguments

shp_file

Shapefile that describes the data to be retrieved.

label

Default label for samples.

shp_attr

Shapefile attribute that describes the label.

start_date

Start date for the data set.

end_date

End date for the data set.

.n_shp_pol

Number of samples per polygon to be read.

.shp_id

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

Author

Gilberto Camara