Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge or stitch networks #62

Open
tomalrussell opened this issue Jan 25, 2023 · 0 comments
Open

Merge or stitch networks #62

tomalrussell opened this issue Jan 25, 2023 · 0 comments

Comments

@tomalrussell
Copy link
Owner

Function to join networks at shared nodes

  • assuming a network has been split - perhaps geographically or by network layer - and there are shared nodes at border-crossings or junctions
  • join the node and edge lists
  • identify shared nodes (by unique ID? by shared location? also by "border" flag?) and ensure they are not duplicated in the result
  • identify network component labels if present in the parts, and update component labelling. This needs a little care in implementation - joining parts may join multiple components.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant