Skip to content

Commit

Permalink
chore: OsmNetworkWrapper.snap_nodes_to_nodes added again
Browse files Browse the repository at this point in the history
  • Loading branch information
sahand-asgarpour committed Nov 9, 2023
1 parent 11e6887 commit 7dbdf10
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ def get_clean_graph(complex_graph: MultiDiGraph):
complex_graph = nut.add_missing_geoms_graph(
graph=complex_graph, geom_name="geometry"
).to_directed()
complex_graph = OsmNetworkWrapper.snap_nodes_to_nodes(
graph=complex_graph, threshold=0.000025
)
return complex_graph

@staticmethod
Expand Down

0 comments on commit 7dbdf10

Please sign in to comment.