-
Notifications
You must be signed in to change notification settings - Fork 15
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
Salting function sucks at creating edges #15
Comments
Better AND faster? My hero! |
i pushed some changes, let me know if it fails b54d645 |
I'm now getting the following error when I run
This is after loading in and running |
ahh, i thought i had tested this. I made a small change, try now |
It ran for a while, much longer than before, saying...
Then it kicked out this error:
|
Our salting function salt_long_lines isn't working properly as noted by @rbanick. I've looked into this and will commit some changes to fix it.
Nodes are salted correctly, but long edges are dropped in the resulting graph, which means that "salted" edges are not being created correctly. The part of the script that re-adds salted edges is in a try statement, so errors in the edge creation / data attribution are not being captured.
The function is also projecting every edge one by one. Fixing that will make it run a lot quicker.
On a related note, I was testing this with a graph with edges that contained lists [] in their wkt attribute. This is a product of the clean network function. Adding rectify geometry after the second custom_simplify should fix this.
The text was updated successfully, but these errors were encountered: