mapview::mapviewOptions(fgb = FALSE)
now set on load- Greatly simplified some older methods that accept
Spatial*
objects- Use
sf
methods under hood, converting viast_as_sf()
first - Result still inherits from
Spatial
if first argument does - Retaining these for backwards-compatibility till
rdgal
expires in 2023
- Use
- Changes to S3 methods for
Spatial*DataFrame
mutate()
is un-deprecatedfilter()
andselect()
now rely onsf
methods under the hood
- All tests now succeed
- Some empty tests were removed
- Added quasi-experimental raster methods
- These rely on
terra
raster_sum()
, a fast and cached way of summing rasters, optionally with weightsraster_digest()
, which hashes result ofterra::values()
- These rely on
Deleted:
meters()
as_square_meters()
Defunct:
- S3
merge
methods forSpatial*DataFrame
polygon_areas()
made obsolete byst_area()
Deprecated:
- S3
filter
methods forSpatial*DataFrame
- S3
mutate
methods forSpatial*DataFrame
fortify()
made obsolete bysf::geom_sf()
reproject()
superseded bysf::st_transform()
Other:
drop_geometry()
now leveragessf::st_drop_geometry()
read_ncdf_raster()
now returnsterra::SpatRaster
instead ofraster::RasterLayer
raster_overlay()
coerces its input toraster::RasterBrick