user_aoi reads in a shape file from a file path to be used to query the DBCA Fire History dataset.

user_aoi(aoi_path, name)

Arguments

aoi_path

A character vector of the full file path to the user's shape file. It will include the name of the shapefile as well as its file extension.

name

A character vector name representing the aoi. This name will be used in titles of outputs and output file names.

Value

A named list containing aoi (an sf class object) and aoi_name

(the name of the aoi).

Details

Under the hood, user_aoi, will on reading in the data, repair geometry and transform the original coordinate reference system to GDA 2020 (Geodetic, EPSG:7844).

Author

Bart Huntley, bart.huntley@dbca.wa.gov.au

Examples

if (FALSE) {
aoi <- user_aoi(aoi_filepath = "C:/path/to/data/myshape.shp", name = "Great Shape")
}