Cap the corridor by connecting the edge end points
Arguments
- edges
A simple feature geometry representing the corridor edges
- method
The method employed for the capping:
direct
(default): connect the start points and the end points of the edges via straight segmentsshortest-path
: find the network-based shortest-path connections between the edge end points.
- network
A spatial network object, only required if
method = 'shortest-path'