bcmaps 2.0.0
Removal of sp and raster support
We've removed support for the sp and raster packages,
especially those parts that require
the use of the rgdal and rgeos packages, which will be retired in October 2023. See the r-spatial blog for details of this evolution.
- Removed the
classargument in all of the data download functions:get_layer()and all of the wrapper shortcuts such asbc_bound(),census_tract(), etc. These functions will now only returnsfobjects. - The
Spatialmethod oftransform_bc_albers()is removed. fix_geo_problems()is removed. Forsfobjects simply usesf::st_make_valid()self_union()is removed. Useraster::union()forSpatialPolygonsDataFrames, orsf::st_union()withsfobjects instead.get_poly_attribute()is removed.raster_by_poly()is retained for now as it does not rely onrgdalorrgeos,
justspandraster, which are still being maintained.
Documentation improvements
- Added a
pkgdownsite forbcmapshttps://bcgov.github.io/bcmaps/ (#63) - Moved the detailed user documentation from the
READMEto a Get Started withbcmapsarticle/vignette (#42) - Better documentation for
bc_bound_hres()(#124)