Skip to content

Releases: r-spatialecology/landscapemetrics

landscapemetrics v2.1.4

29 Jul 09:57
8c31a0a
Compare
Choose a tag to compare
  • Various
    • Adding landscape_as_list() method for PackedSpatRaster

landscapemetrics 2.1.3

26 Jun 13:22
a77e718
Compare
Choose a tag to compare
  • Bugfixes
    • Fixed bug in get_centroids() related to the patch id
  • Various
    • Improve documentation
    • Improve labels of show_patches()

landscapemetrics 2.1.2

03 May 08:50
9662d00
Compare
Choose a tag to compare
  • Bugfixes
    • Bug in spatialze_lsm() with directions argument

landscapemetrics v2.1.1

09 Jan 12:29
60b7ff3
Compare
Choose a tag to compare
  • 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

29 Nov 06:23
cf09eca
Compare
Choose a tag to compare
  • Improvements
    • Many performance improvements. Most visible are in
      calculate_lsm (all metrics: more than 5 times faster with 70% less memory
      allocation for augusta_nlcd; larger increases were found for smaller data)
      and window_lsm (a single metric: more than 6 times faster for augusta_nlcd;
      larger increases were found for smaller data)
    • Some performance improvements are related to the new "extras" mechanism, in which several objects
      are precalculated in calculate_lsm
    • Creates an internal extras_df object that lists which extras are needed by
      each metric
    • Replaces the use of tibble::tibble() with tibble::new_tibble(list()) in most functions.
      This change is partially responsible for improvements of the window_lsm speed
    • Replaces raster_to_points with get_points in several places.
      The get_points function is based on the column and row numbers multiplied by
      the resolution, not actual coordinates.
    • Replaces table with (faster) tabulate in lsm_p_core
  • 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, and get_perimeter_patch
  • Bugfixes
    • Fixes window_lsm behaviour for situations with NAs values and non-square windows
  • Various
    • Fixes several typos and improves documentation in many places
    • Uses object references in most rcpp functions

landscapemetrics 2.0.0

28 Nov 14:31
4c55acc
Compare
Choose a tag to compare
  • Improvements
    • terra and sf instead of raster and sp as underlying frameworks
    • Adjust all show_* functions to avoid ggplot2 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

01 Nov 15:21
b5f0cf2
Compare
Choose a tag to compare
  • 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

07 Sep 11:34
Compare
Choose a tag to compare

landscapemetrics 1.5.4

  • Improvements
    • Improved memory performance related to perimeter and edge calculations

landscapemetrics 1.5.3

07 Jul 06:02
26d6840
Compare
Choose a tag to compare

landscapemetrics 1.5.3

  • Improvements
    • Improved terra objects (SpatRaster) support for almost all functions.
    • Bugfix in get_boundaries() for matrix input and return_raster = TRUE
    • Better naming of list outputs
  • Bugfixes
    • Adding rel_mut_inf to list_lsm()
    • Fix changes due to new ggplot2 version

landscapemetrics v1.5.2

04 Feb 18:18
3b32508
Compare
Choose a tag to compare

landscapemetrics 1.5.2

  • Bugfixes
    • Bug in lsm_l_ai if class with only one cell exists
  • Various
    • Renamed master to main branch