Skip to contents

landscapemetrics 1.5.5

  • Improvements
    • get_patches returns a unique patch id for all classes

landscapemetrics 1.5.4

CRAN release: 2021-09-02

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

landscapemetrics 1.5.3

CRAN release: 2021-07-06

  • 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 1.5.2

CRAN release: 2021-02-04

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

landscapemetrics 1.5.1

CRAN release: 2020-12-04

  • Improvements
    • Use GitHub actions
  • Bugfixes
    • Bug in lsm_c_lsi, lsm_c_nlsi, lsm_l_lsi not using cell surfaces

landscapemetrics 1.5.0

CRAN release: 2020-09-17

  • Improvements
    • Improved internal understanding of input classes
    • Adds terra objects (SpatRaster) support
  • New functions
    • lsm_l_relmutinf to calculate relative mutual information

landscapemetrics 1.4.6

CRAN release: 2020-08-10

  • Improvements
    • Improved RAM performance if to_disk = TRUE for spatialize_lsm and matrix_to_raster

landscapemetrics 1.4.5

CRAN release: 2020-07-08

landscapemetrics 1.4.4

CRAN release: 2020-05-15

  • Improvements
    • Set labels = FALSE as default for all plotting functions (messy for larger raster)
    • Add argument to sample_lsm() that adds NA if class is not present in sample plot

landscapemetrics 1.4.3

CRAN release: 2020-03-14

  • Improvements
    • Improved algorithm to calculate circumscribing circle. This refers to both speed and accuracy.
    • The circumscribing circle is now also calculated for patches with only one cell
  • Bugfixes
    • Bugfix for all functions that produce warnings

landscapemetrics 1.4.2

CRAN release: 2020-01-20

  • Bugfixes
    • Bug in total edge calculation
  • Improvements
    • Adds a support for sf polygons in sample_lsm

landscapemetrics 1.4.1

CRAN release: 2020-01-12

  • Bugfixes
    • Bug in the connected-component labelling algorithm for non-rectangular landscapes

landscapemetrics 1.4

CRAN release: 2019-12-11

  • Improvements
    • Improved connected-component labelling algorithm. Note: The algorithm labels the patches in a different order and therefore may use different patch IDs compared to previous versions.

landscapemetrics 1.3.2

  • Bugfixes
    • Make sure all CRAN checks run

landscapemetrics 1.3.1

  • Bugfixes
    • Return NA if all cells are NA
  • Improvements
    • Cleaner handling of warnings

landscapemetrics 1.3

CRAN release: 2019-11-07

  • Bugfixes
    • Remove NAs on patch level for shape index

landscapemetrics 1.2.2

CRAN release: 2019-09-10

  • Bugfixes
  • New functions
    • unpad_raster to remove padding around raster
  • Improvements
    • New argument in get_boundaries to consider landscape boundary

landscapemetrics 1.2.1

CRAN release: 2019-08-07

  • Bugfixes
    • Allow sf points for sampling metrics
    • Make sure x-y coordinates are used in sample_lsm()
    • Size argument is not needed for polygons in sample_lsm()
    • Make sure sample_lsm() can use SpatialPolygonsDataFrame
  • Improvements
    • Update citation

landscapemetrics 1.2

CRAN release: 2019-07-02

landscapemetrics 1.1

CRAN release: 2019-04-25

landscapemetrics 1.0

CRAN release: 2019-03-15

  • New functions
    • New function moving_window() to calculate metrics within a moving window
    • New function get_lsm() to raster in which each cell has patch metric value
  • Bugfixes
  • Improvements

landscapemetrics 0.3.1

CRAN release: 2019-01-23

  • Bugfixes
    • fixing bug in sample_lsm() that occured when metrics where selected using what argument
    • Bugfix in lsm_p_core() if only one patch is present
    • Bugfix in lsm_p_circle() if only one cell is present in class
    • Bugfix in lsm_p_hyrate() if only one cell is present in class
    • Bugfix in get_adjacencies() that checks if neighbourhood was specified correctly did not work properly
  • Improvements
  • Renaming
    • Renamed argument return_plots to return_raster in sample_lsm()

landscapemetrics 0.3

CRAN release: 2018-12-07

  • New functions
  • Bugfixes
    • Bugfix in lsm_l_rpr: Typo in internal function, used landscapemetrics::landscape instead of user input
    • Bugfix in all show_() * functions that na.value color is identical
  • Improvements
    • Most get_-functions can now take matrix as input and also return a matrix
    • calculate_lsm() now uses list_lsm(). This allows more options to specify metrics to calculate
    • Updated structure of lsm_abbreviations_names
    • show_()-functions don’t throw warnings
    • “global” facet for all show_() functions
    • extract_lsm() now uses list_lsm(). This allows more options to specify metrics to calculate
    • rcpp_get_coocurrence_matrix() can now handle large rasters and is faster
    • lsm_p_circle() and get_circumscribingcircle() now consideres different x- & y-resolutions
    • Generally, a better use of Rcpp to decrease computational time and memory demand
  • Renaming
    • Renamed “new metric” group to “complexity metric” group
    • what arguments of all show_()-functions now are named class for consistency (so all what arguments deal with metrics)
    • what arguments of get_patches() is now named class for consistency (so all what arguments deal with metrics)

landscapemetrics 0.2

CRAN release: 2018-09-30

  • Unified naming scheme for all auxiliary functions:
    • calculate_metrics is now calculate_lsm
  • Implemented show_cores, a function to plot the core area of patches
  • show_patches now also shows labelled class facets (option what)
  • All plot functions have the same theme
  • Implemented sample_lsm, a function to sample metrics around buffered points
  • Implemented extract_lsm, a function to extract landscape metrics for spatial coordinates
  • Removed all functions from the purrr package and replaced them by lapply
  • Removed all pipes
  • calculate_lsm has the option progress
  • consider_boundary is available for all core metrics
  • The edge_depth can be specified for all core metrics

landscapemetrics 0.1.1

CRAN release: 2018-08-14

  • Replaced isFALSE() with !isTRUE() to be compatibile to R (> 3.1)
  • Bugfix: lsm_p_core() and lsm_p_ncore() now takes landscape boundary into account
  • Added namespace prefix std::fmod() in get_adjacency.cpp

landscapemetrics 0.1.0

CRAN release: 2018-08-11

  • First submission to CRAN