Learn R Programming

bcmaps (version 1.0.3)

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", "sp", or "raster"

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("sp")
  bc_bbox("raster")
  }

Run the code above in your browser using DataLab