Flatten a network by adding points at apparent intersections.
Source:R/network.R
flatten_network.Rd
All crossing edges are identified, and the points of intersections are
injected within the edge geometries. Note that the injected points are
not converted to network nodes (this can be achieved via sfnetworks'
sfnetworks::to_spatial_subdivision()
, which is part of the tasks
that are included in clean_network()
.
Details
The functionality is similar to sfnetworks'
sfnetworks::st_network_blend()
, but in that case an external point is
only injected to the closest edge.