trim_lines_at {spNetwork} | R 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
[Package spNetwork version 0.4.4.6 Index]