clean_hedgerows: Prepare Hedgerows

clean_hedgerowsR Documentation

Prepare Hedgerows

Description

This function supersedes the add_hedgerows() function that used to embed new geometries within the basemap. Instead, this function imports the source hedgerow data (line data) and cleans it up into a layer that can be used as optional input in the ES models.

Usage

clean_hedgerows(
  mm = parent.frame()$mm,
  studyAreaBuffer = parent.frame()$studyAreaBuffer,
  projectLog = parent.frame()$projectLog
)

Arguments

mm

The mm object loaded in the environment, usually after running the whole basemap process.

studyAreaBuffer

The buffered study area generated during mod01 or reloaded when resuming a session.

projectLog

The RDS project log file generated by the wizard app and containing all file paths to data inputs and model parameters

Value

Saves a clean_hedges_project-title.RDS file to project folder in intermediary folder. The path is saved in projectLog$clean_hedges and this is the path that is read in the ES models when use_hedges = TRUE.


ecoservR/ecoserv_tool documentation built on April 5, 2025, 1:49 a.m.