bioRxivEcology
PyLandStats: An open-source Pythonic library to compute landscape metrics
Abstract
Quantifying the spatial pattern of landscapes has become a common task of many studies in landscape ecology. Most of the existing software to compute landscape metrics is not well suited to be used in interactive environments such as Jupyter notebooks nor to be included as part of automated computational workflows. This article presents PyLandStats, an open-source Python library to compute landscape metrics within the scientific Python stack. The PyLandStats package provides a set of methods to undertake recurrent approaches to quantify landscape patterns, such as the analysis of the spatiotemporal patterns of land use/land cover change or gradient analysis. The implementation is based on the prevailing Python libraries for geospatial data analysis in a way that they can be forthwith integrated into complex computational workflows. Notably, the provided methods offer a large variety of options so that users can employ PyLandStats in the way that best supports their needs. The source code is publicly available, and is organized in a modular object-oriented structure that enhances its maintainability and extensibility.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Information theory as a consistent framework for quantification and classification of landscape patterns
J. Nowosad, T. Stepinski·bioRxiv·Jun 19, 2019
- SILand: an R package for estimating the spatial influence of landscape
F. Carpentier, O. Martin·bioRxiv·Apr 14, 2020
- ALGR: A multi-purpose agricultural landscape generator in R
Eyal Goldstein, Antonia Deutscher, … Kerstin Wiegand·PLoS ONEPeer-reviewed·Oct 30, 2025
- NLMR and landscapetools: An integrated environment for simulating and modifying neutral landscape models in R
M. Sciaini, M. Fritsch, … C. E. Simpkins·bioRxiv·Apr 27, 2018
- The rasterdiv package for measuring diversityfrom space
M. Marcantonio, E. Thouverai, D. Rocchini·bioRxiv·Feb 7, 2024
- rasterdiv - an Information Theory tailored R package for measuring ecosystem heterogeneity from space: to the origin and back
D. Rocchini, E. Thouverai, … M. Wegmann·bioRxiv·Feb 9, 2021