trim_lines_at: Helper for isochrones lines cutting

View source: R/isochrones_sf.R

trim_lines_atR Documentation

Helper for isochrones lines cutting

Description

last operation for isochrone calculation, cutting the lines at their begining and ending. This is a worker function for calc_isochrones.

Usage

trim_lines_at(df1, graph_result, d, dd, i, donught)

Arguments

df1

A features collection of linestrings with some specific fields.

graph_result

A list produced by the functions build_graph_directed or build_graph.

d

the end distance of this isochrones.

dd

the start distance of this isochrones.

i

the actual iteration.

donught

A boolean indicating if the returned isochrone will be plained or a donught.

Value

A feature collection of lines


spNetwork documentation built on June 22, 2024, 9:40 a.m.