dshm_split_transects: Splitting transect lines into segments

Description Usage Arguments Details Value Author(s)

View source: R/dshm_split_transects.R

Description

Splits transect lines into segments, adds buffer, and attaches data.

Usage

1
2
dshm_split_transects(transect.data, inter.dist = 0.01, lwr,
  search.time = 15, w, parallel = FALSE, ncores = NULL, cap = TRUE)

Arguments

transect.data

Transect lines as SpatialLinesDataFrame.

inter.dist

Distance between each segment in meters. Default is 10 cm.

lwr

Lower limit in meters for segments.

search.time

Time in seconds the routine has to search for the solution. Default is 15s. Note this is not the time required to finish calculations. See the split_transects.pdf tutorial for more information.

w

Segment buffer in meters.

parallel

If TRUE calculations are carried out on multiple cores. Default is FALSE.

ncores

Number of cores.

cap

If TRUE a cap is added to the ends of each splitted transect.

Details

For more information about splitting transects into segments as well as checking and correcting segments you can download the split_transects.pdf tutorial.

Value

Segments as SpatialPolygonsDataFrame with attached data:

Author(s)

Filippo Franchini filippo.franchini@outlook.com


FilippoFranchini/dshm documentation built on April 25, 2020, 9:40 p.m.