Check the validity of the shape file and return an sf object
.sits_shp_check_validity(shp_file, shp_attr = NULL, label = NULL)
A valid sf object of POINT or POLYGON geometry.
SHP file which provides the boundaries of a region.
attribute in the shapefile that contains the label
Label to be used instead of shp_attr