build_shape_cuts: Build the geometries of parts of shapes

View source: R/shapes_helpers.R

build_shape_cutsR Documentation

Build the geometries of parts of shapes

Description

Build the geometries of parts of shapes

Usage

build_shape_cuts(cuts, shape_points)

Arguments

cuts

A data.table with the shape_id of each part and the positions, in meters from the start of the shape, where it starts (from) and ends (to).

shape_points

The "shape_points" attribute of the output of locate_stops_along_shapes(), on which the positions were measured.

Value

A sfc_LINESTRING in WGS 84 with the geometry of each part.


gtfstools documentation built on Oct. 28, 2026, 5:13 p.m.