Releases: r-spatialecology/landscapemetrics
Releases · r-spatialecology/landscapemetrics
landscapemetrics v2.1.4
- Various
- Adding
landscape_as_list()
method forPackedSpatRaster
- Adding
landscapemetrics 2.1.3
- Bugfixes
- Fixed bug in
get_centroids()
related to the patch id
- Fixed bug in
- Various
- Improve documentation
- Improve labels of
show_patches()
landscapemetrics 2.1.2
- Bugfixes
- Bug in
spatialze_lsm()
withdirections
argument
- Bug in
landscapemetrics v2.1.1
- Improvements
- Simplify roxygen2 docs
- Bugfixes
- Bugfix in calculate of clumpy if NA values are present
- Bugfix in construct_buffer that CRS was lost
landscapemetrics 2.1.0
- Improvements
- Many performance improvements. Most visible are in
calculate_lsm
(all metrics: more than 5 times faster with 70% less memory
allocation foraugusta_nlcd
; larger increases were found for smaller data)
andwindow_lsm
(a single metric: more than 6 times faster foraugusta_nlcd
;
larger increases were found for smaller data) - Some performance improvements are related to the new "extras" mechanism, in which several objects
are precalculated incalculate_lsm
- Creates an internal
extras_df
object that lists which extras are needed by
each metric - Replaces the use of
tibble::tibble()
withtibble::new_tibble(list())
in most functions.
This change is partially responsible for improvements of thewindow_lsm
speed - Replaces
raster_to_points
withget_points
in several places.
Theget_points
function is based on the column and row numbers multiplied by
the resolution, not actual coordinates. - Replaces
table
with (faster)tabulate
inlsm_p_core
- Many performance improvements. Most visible are in
- New functions
- Adds a few internal helper functions and documents them, including
prepare_extras
,
get_area_patches
,get_class_patches
,get_complexity
,get_enn_patch
,
get_points
, andget_perimeter_patch
- Adds a few internal helper functions and documents them, including
- Bugfixes
- Fixes
window_lsm
behaviour for situations with NAs values and non-square windows
- Fixes
- Various
- Fixes several typos and improves documentation in many places
- Uses object references in most rcpp functions
landscapemetrics 2.0.0
- Improvements
terra
andsf
instead ofraster
andsp
as underlying frameworks- Adjust all
show_*
functions to avoidggplot2
warning - Update color palette of
show_correlation
- New functions
points_as_mat()
helper function
- Bugfixes
- There was a bug introduced previously in the calculation of SHEI
extract_lsm
returned an no-needed warning message- Minor bug in shape index fixed
- Minor bug in clumpy index fixed
- Various
- Updated FRAGSTATS reference (thanks to Oto Kaláb @kalab-oto)
- Update FRAGSTATS tests
landscapemetrics v1.5.5
- Improvements
get_patches
returns a unique patch id for all classes- Adds adds the ability to use a circular window in
window_lsm()
- Various
- Fix typo in Maintainer name
landscapemetrics v1.5.4
landscapemetrics 1.5.4
- Improvements
- Improved memory performance related to perimeter and edge calculations
landscapemetrics 1.5.3
landscapemetrics 1.5.3
- Improvements
- Improved terra objects (SpatRaster) support for almost all functions.
- Bugfix in
get_boundaries()
for matrix input andreturn_raster = TRUE
- Better naming of list outputs
- Bugfixes
- Adding
rel_mut_inf
tolist_lsm()
- Fix changes due to new
ggplot2
version
- Adding
landscapemetrics v1.5.2
landscapemetrics 1.5.2
- Bugfixes
- Bug in
lsm_l_ai
if class with only one cell exists
- Bug in
- Various
- Renamed master to main branch