You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In tidygraph, the reroute() verb enables to change the terminal nodes of edges. For example, you can reverse edges with reroute(to = from, from = to). When having spatially explicit edges in an sfnetwork object, rerouting should not just mean changing the from and to columns, but also the geometry column. In the case of reversion, this would mean applying st_reverse() to the geometries.
Describe the solution you'd like
An sfnetwork method for tidygraphs reroute() function, that takes into account the above (only when edges are spatially explicit).
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In tidygraph, the
reroute()
verb enables to change the terminal nodes of edges. For example, you can reverse edges withreroute(to = from, from = to)
. When having spatially explicit edges in ansfnetwork
object, rerouting should not just mean changing thefrom
andto
columns, but also the geometry column. In the case of reversion, this would mean applyingst_reverse()
to the geometries.Describe the solution you'd like
An
sfnetwork
method for tidygraphsreroute()
function, that takes into account the above (only when edges are spatially explicit).The text was updated successfully, but these errors were encountered: