Takes a dataframe at returns an sf object.
geom_from_boundary(df, epsg, add = T)
df | A dataframe including the columns |
---|---|
epsg | Intger value of the CRS the data is set to. |
add | A boolean determining whether the geometries should be added to the
input dataframe ( |
This function takes a dataframe and returns an sf object. The dataframe
must contain the columns, xmin
, xmax
, ymin
, max
,
which will be turned into the edges of a rectangular sf polygon.