Updates to graph cleaning
Updates to graph cleaning
Some general updates to the graph cleaning workflows.
- The
graph.nx_remove_dangling_nodes
method's despine parameter is now an integer type and is active by default. Set to0
if no despining is to occur. - The
graph.nx_iron_edges
method is now more aggressive. - The
graphs.nx_consolidate_nodes
method has been simplified with a newcentroid_by_itx
parameter taking the place of previous methods. This is set toTrue
by default. - The
io.osm_graph_from_poly
has been simplified with parameters removed. If custom control is needed then the individual methods can be called manually against a graph derived withsimplify=False
. Non simplified graphs are now returned with simple geoms generated and any filler nodes removed. - Adds the
util.measure_max_angle
method. - Adds tests
- Minor tweaks to simplification default params