Learn R Programming

sits (version 1.1.0)

.sits_sf_polygon_to_tibble: Obtain a tibble from POLYGON geometry

Description

Obtain a tibble from POLYGON geometry

Usage

.sits_sf_polygon_to_tibble(sf_object, label_attr, label, n_sam_pol, pol_id)

Value

A tibble with latitude/longitude points from POLYGON geometry

Arguments

sf_object

sf object linked to a shapefile

label_attr

Attribute in the shapefile used as a polygon label

label

Label to be assigned to points

n_sam_pol

Number of samples per polygon to be read

pol_id

ID attribute for polygons shapefile.