Skip to contents

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)

Value

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

Details

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

Examples

data(DTMParacou)
if (FALSE) { # \dontrun{
MainTrails <- maintrailextract(DTMParacou)
} # }
data(MainTrails)
library(raster)
#> Loading required package: sp
plot(DTMParacou)
plot(MainTrails, add = TRUE)