taxicab icon indicating copy to clipboard operation
taxicab copied to clipboard

Taxicab not working for nx_route with 3 nodes and origin AND destination edges overlapping

Open JobdeVogel opened this issue 2 years ago • 1 comments

The shortest path algorithm is removing nodes from nx_route if edge is overlapping. In case of two edges overlapping with 3 nodes, no route edge is available anymore, thus giving an indexerror:

route_dest_edge = _get_edge_geometry(G, (nx_route[-2], nx_route[-1], 0)) IndexError: list index out of range

JobdeVogel avatar Sep 29 '22 14:09 JobdeVogel

I get the same issue. Is somebody working on a fix ? Thanks

staillefer avatar Oct 10 '22 01:10 staillefer