maintrailextract: Generate main skidding trail of the inventoried plot

View source: R/maintrailextract.R

maintrailextractR Documentation

Generate main skidding trail of the inventoried plot

Description

Generate main skidding trail of the inventoried plot

Usage

maintrailextract(topography, advancedloggingparameters = loggingparameters())

Arguments

topography

Digital terrain model (DTM) of the inventoried plot (LiDAR or SRTM) (DTMParacou) (RasterLayer with a crs in UTM) We advise you to generate your raster with Qgis rather than with the 'raster' package on R.

advancedloggingparameters

Other parameters of the logging simulator loggingparameters (list)

Details

The main trails are defined as lines at the edge and outside of the plot.

Value

The main trail at the edge and outside of the topography raster (sf LINESTRING object with a crs in UTM)

Examples

data(DTMParacou)
## Not run: 
MainTrails <- maintrailextract(DTMParacou)

## End(Not run)
data(MainTrails)
library(raster)
plot(DTMParacou)
plot(MainTrails, add = TRUE)


VincyaneBadouard/LoggingLab documentation built on Oct. 16, 2024, 9:42 p.m.