aoi_transform: Transform an AOI's CRS

Description Usage Arguments Value Note

View source: R/aoi_processing.R

Description

Transforms an 'sf' style bounding box object into the specified coordinate reference system.

Usage

1
aoi_transform(aoi = NULL, crs = 4283)

Arguments

aoi

Object of class 'bbox' generated by internal function aoi_convert().

crs

EPSG code of desired coordinate reference system. Default 4283.

Value

'bbox' object with the desired CRS, large enough to ensure returned dataset covers entire input object.

Note

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.


slga documentation built on June 12, 2021, 9:07 a.m.