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

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 211971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>