directly transform a set of coordinates

sf_project(from, to, pts, keep = FALSE)

Arguments

from character; proj4string of pts character; target coordinate reference system two-column numeric matrix, or object that can be coerced into a matrix logical value controlling the handling of unprojectable points. If keep is TRUE, then such points will yield Inf or -Inf in the return value; otherwise an error is reported and nothing is returned.