Open sblandin2018 opened 3 years ago
Any progress on this issue?
I solve this problem by adding some code into geonetworkx.tools.isochrones.py on line 206-207.
discretization_tol = gnx.readwrite.graph_edges_to_gdf(graph)['length'].max()
discretized_lines, _ = gnx.discretize_lines(edge_as_lines, discretization_tol)
Hello,
I tried to use
isochrone_polygon_with_alpha_shape
method but I get a TypeError like the following:You can reproduce the issue with the following code:
It seems that
discretize_lines
function needs an additionaldiscretization_tol
parameter to work.