Published March 20, 2023 | Version v0.1

dimitri-justeau/intra: v0.1

Description

Beta release for article submission "Refining intra-patch connectivity measures in landscape fragmentation and connectivity indices"

Dimitri Justeau-Allaire¹, Thomas Ibanez¹, Ghislain Vieilledent¹'², Xavier Lorca³, Philippe Birnbaum¹'².

  1. AMAP, Univ Montpellier, CIRAD, CNRS, INRAE, IRD, Montpellier, France
  2. CIRAD, UMR AMAP, F‐34398 Montpellier, France
  3. Centre de Génie Industriel, IMT Mines Albi, Albi, France

intra

The intra R package allows to compute patch complexity metrics from a raster file. Specifically, it computes the shape index (SHAPE), the fractal dimension (FRAC), and the mean detour index (MDI).

The main functions are:

extract_intra_metrics <- function(raster_path, raster_value, neighborhoodExtractCC = 4, neighborhoodExploreCC = 4)

Which compute these indices and return them as a dataframe, and:

export_shapefile <- function(raster_path, raster_value, shapefile_path, neighborhoodExtractCC = 4, neighborhoodExploreCC = 4, computeIndices=TRUE)

Which does the same but export the result as a shapefile, with the metrics as patch attributes.

This package relies on Rcpp, and needs GDAL/OGR C++ dev libraries.

This is an experimental package, developed to design new intra-patch connectivity indices. We would like to suggest their integration in a package such as landscapemetrics in the future, and thus do not aim to publish it to CRAN.

Files

dimitri-justeau/intra-v0.1.zip

Files (70.5 kB)

Name Size Download all
md5:0bc00267bfdca7de6e3bf17457ecddae
70.5 kB Preview Download

Additional details

Related works