| .sits_points_from_shp {sits} | R Documentation |
reads a shapefile and retrieves a sits tibble containing a set of lat/long points for data retrieval
.sits_points_from_shp(sf_shape, shp_attr, label, .n_shp_pol)
sf_shape |
sf object that contains a SHP file |
shp_attr |
Attribute in the shapefile used as a polygon label |
label |
Label to be assigned to points |
.n_shp_pol |
Number of samples per polygon to be read (for POLYGON or MULTIPOLYGON shapes) |
A sits tibble with points to to be read.