Libraries

library(sf)
## Linking to GEOS 3.11.2, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE
library(mapview)
library(bcmaps)
## Support for Spatial objects (`sp`) was removed in {bcmaps} v2.0.0. Please use `sf` objects with {bcmaps}.
library(units)
## udunits database from C:/Users/TRU/AppData/Local/R/win-library/4.3/units/share/udunits/udunits2.xml
library(bcdata)
## 
## Attaching package: 'bcdata'
## The following object is masked from 'package:stats':
## 
##     filter

Wells Gray Provincial Park Area

wg <- st_read("WellsGray_Park.shp")
## Reading layer `WellsGray_Park' from data source 
##   `C:\Users\TRU\Documents\R\Wells Gray\WellsGray_Park.shp' using driver `ESRI Shapefile'
## Simple feature collection with 1 feature and 16 fields
## Geometry type: MULTIPOLYGON
## Dimension:     XY
## Bounding box:  xmin: 1368858 ymin: 755755.8 xmax: 1444935 ymax: 890470.9
## Projected CRS: NAD83 / BC Albers
mapview(wg, zcol = "PROT_NAME")

BC Maps and BC Catalogue

BEC

## bec was updated on 2024-04-04
## Warning: attribute variables are assumed to be spatially constant throughout
## all geometries

Freshwater Atlas

## Warning: attribute variables are assumed to be spatially constant throughout
## all geometries
## Warning: attribute variables are assumed to be spatially constant throughout
## all geometries