Skip to contents

Provides tools for harmonizing spatial layers (masking, resampling, aggregating) and extracting covariates at point locations for Alberta-focused biodiversity and species distribution modelling workflows.

Reference Layers

Harmonization defaults to the Alberta provincial boundary and the ABMI 1 km grid, both in NAD83 / Alberta 10-TM (Forest), EPSG:3400. Every function below that takes a reference grid or boundary falls back to these, so layers harmonized with this package share one CRS, extent, resolution, and origin unless a caller opts out.

  • ab_crs() — default CRS, "EPSG:3400"

  • ab_boundary() — Alberta provincial boundary (2020 revision)

  • ab_grid() — ABMI 1 km reference grid, 1234 x 695 cells

Input and Validation

  • check_alignment() — test CRS, extent, resolution, and origin congruence against a reference grid

  • harmonize_crs() — transform points to raster CRS; warn if raster reprojection would be implied

Inspection

Harmonization

  • mask_to_boundary() — mask to Alberta or a user-supplied polygon

  • resample_to_grid() — align to a reference grid, choosing the resampling method from the resolution ratio and whether the layer is categorical

Extraction

Catalogue and Metadata

The catalogue is built by scanning the spatial data share and parsing the readme stored beside each dataset, so it is always a description of the data as it actually sits on disk. Readmes follow the ABMI spatial metadata template documented in the geospatial catalog and management guide at https://github.com/bgcasey/geospatial_catalog_and_management_guide.

Author

Maintainer: Brendan Casey brendan.casey@ualberta.ca

Other contributors:

  • Alberta Biodiversity Monitoring Institute [copyright holder, funder]