bcmaps
Map Layers and Spatial Utilities for British Columbia
BC's spatial data package finished its sf migration and went back to adding layers
◆Recent moves
- 5mo ago
Census dissemination block layer added
Adds census_dissemination_block() to the layer shortcuts, the finest census geography the package now exposes. The accompanying bcdata version bump removes an indirect dependency on leaflet.extras before that package is archived, which is the same pre-emptive dependency management that shaped the 2.0.0 release.
View source ↗ - 1y ago
Coordinate conversion fixed where output rows could be misaligned
Fixes a bug in utm_convert() where converted coordinates could be attached to the wrong rows of the input data frame - the kind of silent error that produces plausible-looking maps of the wrong places. Also makes the cached-data ask argument actually take effect and preserves tibble classes.
View source ↗ - 2y ago
utm_convert handles mixed UTM zones in tabular data
Adds utm_convert() for tabular X and Y coordinates spread across multiple UTM zones, reprojecting them into a single CRS. A practical addition for a province wide enough to span zones, though it needed a correctness fix in the following release.
View source ↗ - 2y ago
terra-based elevation function replaces the raster one
Introduces cded_terra() and deprecates cded_raster(), continuing the same staged migration away from the legacy spatial stack that 2.0.0 completed for sp. Announced a release before removal, as this package consistently does.
View source ↗ - 2y ago
sp and raster support removed, leaving sf as the only output class
⚡ SPARKThe breaking release the previous version had spent six months warning about. It resets what every download function returns and deletes several utilities outright, which makes it the version boundary any existing bcmaps script has to be checked against.
View source ↗ - 3y ago
Deprecation warnings announce the coming sf-only release
Adds deprecation warnings across the class argument and the Spatial-specific utilities, with an explicit statement that full removal follows in the next release. The preparation half of the migration that 2.0.0 completed.
View source ↗