momepy icon indicating copy to clipboard operation
momepy copied to clipboard

keep line attributes in `remove_false_nodes`

Open jGaboardi opened this issue 3 years ago • 1 comments

In remove_false_nodes, line attributes are lost when merged together. These can be critical (or at least helpful) for further analysis following preprocessing and users should have the option for retaining them, as is done in osmnx's simplify_graph.

jGaboardi avatar Dec 16 '22 14:12 jGaboardi

yeah, we should expose an aggfunc like in dissolve

martinfleis avatar Dec 16 '22 15:12 martinfleis