Convert raster tif to polygon shapefile in geographic coordinates for mapping prioritizr solution in non-Mercator projection

tif_to_shp_gcs(tif)

Arguments

tif

path to raster tif

Value

True if successfully writes shapefile to same path as tif (.tif -> _gcs.shp)