R: Transform a shapefile into a samples file

.sits_get_samples_from_shp {sits} | R Documentation

## 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
    )

### 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 (for POLYGON or MULTIPOLYGON shapefile).

### Value

A tibble with information the samples to be retrieved

### Author(s)

Gilberto Camara

[Package sits version 0.16.2 Index]