st_point2poly

st_point2poly(xyz, crs = 4326)

df2rast(xyz)

rast2poly(r, crs = 4326)

st_dissolve(x, by = NULL, ...)

Arguments

xyz

matrix or data.frame with at least three columns: x and y coordinates, and values (z). There may be several 'z' variables (columns)

crs

one of (i) character: a string accepted by GDAL, (ii) integer, a valid EPSG value (numeric), or (iii) an object of class crs.

References

  1. https://gis.stackexchange.com/questions/192771/how-to-speed-up-raster-to-polygon-conversion-in-r