View source: R/aoi_processing.R
aoi_transform | R Documentation |
Transforms an 'sf' style bounding box object into the specified coordinate reference system.
aoi_transform(aoi = NULL, crs = 4283)
aoi |
Object of class 'bbox' generated by internal function
|
crs |
EPSG code of desired coordinate reference system. Default 4283. |
'bbox' object with the desired CRS, large enough to ensure returned dataset covers entire input object.
This is a stopgap until and unless a dedicated sf method for bbox transformations is written. Currently used to coerce to WGS84 under specific circumstances. Since this helper was written for an Australia-specific package, it is assumed that it will be used to transform coordinates from a fairly limited list of known crs's, chiefly GDA94 (EPSG:4283) and its associated UTM and Albers equal area projections.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.