Presently I know the extent of a bounding box that I am interested in EPSG:4326. However, I would like to translate those into a bounding box for EPSG:3857.
I would like to be able to pass a bounding box into st_transform() like so:
this GDAL function would do the right thing IMO; for EPSG:3857 it wouldn't matter (except when the bbox crosses the antemeridian) but for others it does.
Presently I know the extent of a bounding box that I am interested in EPSG:4326. However, I would like to translate those into a bounding box for EPSG:3857.
I would like to be able to pass a bounding box into
st_transform()
like so:but there is no method. Instead, this has to be done a bit circuitously:
It would be nice if this could be turned into an S3 method