momepy
momepy copied to clipboard
keep line attributes in `remove_false_nodes`
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.
yeah, we should expose an aggfunc like in dissolve