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
class
argument 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 returnsf
objects. - The
Spatial
method oftransform_bc_albers()
is removed. fix_geo_problems()
is removed. Forsf
objects simply usesf::st_make_valid()
self_union()
is removed. Useraster::union()
forSpatialPolygonsDataFrame
s, orsf::st_union()
withsf
objects instead.get_poly_attribute()
is removed.raster_by_poly()
is retained for now as it does not rely onrgdal
orrgeos
,
justsp
andraster
, which are still being maintained.
Documentation improvements
- Added a
pkgdown
site forbcmaps
https://bcgov.github.io/bcmaps/ (#63) - Moved the detailed user documentation from the
README
to a Get Started withbcmaps
article/vignette (#42) - Better documentation for
bc_bound_hres()
(#124)