Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 208239

Transform result of `st_bbox()` to other CRS

$
0
0

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


Viewing all articles
Browse latest Browse all 208239

Trending Articles