Assumes that the dataframe only contains rombuses.

poly2sv(polydf)

Arguments

polydf

A polygon in the format required by geom_polygon: a data.frame with values, x and y positions and id labels

Value

A SpatVector as used in the package 'terra'