make_transect_pts: Make points at center of transect cells

View source: R/make_transect_funs.R

make_transect_ptsR Documentation

Make points at center of transect cells

Description

Lays points out at the center of sampling cells along a transect. User supplies a layer with transect lines, the length of each transect, and the size (assumed to be a square) of the transect cells. Returns a point layer with a transect ID and distance along transect to form a unique point ID.

Usage

make_transect_pts(t_lines, t_length, t_size)

Arguments

t_lines

An 'sf' object with transect lines.

t_length

The length of the transects in 't_layer' (in meters).

t_size

The size of the transect cells (in meters), assumed to be square (t_size x t_size).

Value

An 'sf' object with sampling points along transect lines.


paulhegedus/SampleBuilder documentation built on July 21, 2023, 9:35 a.m.