luukvdmeer / sfnetworks

Tidy Geospatial Networks in R
https://luukvdmeer.github.io/sfnetworks/
Other
347 stars 20 forks source link

to_spatial_simple morpher breaks when parallel linestrings are of same length #75

Closed luukvdmeer closed 3 years ago

luukvdmeer commented 4 years ago

Describe the bug The to_spatial_simple morpher collapses parallel edges, and lets the user choose if the longest or shortest edge should be kept in such a case. However, when they are of equal length, the function breaks.

note to self: this is a very simple fix

luukvdmeer commented 4 years ago

Fixed on develop, will be pushed to master soon, along with the new version