Is there a simple way to transform the bounding of a simple feature (sf
object) to another CRS?
The result of the function st_bbox()
is of class bbox
. It is not possible to use st_transform()
to transform it to another CRS.
I am using a calculated bounding box based EPSG: 28992
:
sf::st_bbox(xmin = 187470, xmax =194587,
ymin = 409753, ymax = 412715,
crs = st_crs(28992))
Now I want to transform this box to EPSG:4326