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

Copy all attributes after splitting or creating new edges #20

Open
ElcoK opened this issue Jan 17, 2019 · 1 comment
Open

Copy all attributes after splitting or creating new edges #20

ElcoK opened this issue Jan 17, 2019 · 1 comment

Comments

@ElcoK
Copy link
Contributor

ElcoK commented Jan 17, 2019

Using link_nodes_to_nearest_edge or link_nodes_to_edges_within will create new edges, but only gives them a geometry attribute. all other attributes will be None in the new GeoDataFrame.

@tomalrussell
Copy link
Owner

Notes:

  • for split edges, copy (duplicate) attributes
  • for newly created edges, maybe pass edge (and node/intersection) to user-defined function which can fill out attributes

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

2 participants