Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


bcmaps (version 1.2.0)

bc_bbox: Get an extent/bounding box for British Columbia

Description

Get an extent/bounding box for British Columbia

Usage

bc_bbox(class = c("sf", "sp", "raster"), crs = 3005)

Value

an object denoting a bounding box of British Columbia, of the corresponding class specified in class. The coordinates will be in lat-long WGS84 (epsg:4326).

Arguments

class

"sf", "raster". [Deprecated]. class = "sp" is deprecated as of bcmaps 1.2.0 and will be removed in Summer 2023.

crs

coordinate reference system: integer with the EPSG code, or character with proj4string. Default 3005 (BC Albers).

Examples

Run this code
if (FALSE) {
  bc_bbox("sf")
  bc_bbox("raster")
  }

Run the code above in your browser using DataLab