From a7ee27e5f160753bf5a6f7f89939ac091f74caf9 Mon Sep 17 00:00:00 2001 From: Gabriele Filomena Date: Wed, 13 Mar 2024 11:49:58 +0000 Subject: [PATCH] Update w07_OSM.html --- docs/labs/w07_OSM.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/labs/w07_OSM.html b/docs/labs/w07_OSM.html index 8a69b02..2fcd756 100644 --- a/docs/labs/w07_OSM.html +++ b/docs/labs/w07_OSM.html @@ -980,7 +980,7 @@

However, for that edge, we want to get the attribute that refers to the index in the edges_copy GeoDataFrame. For that, We use a list comprehension.

-
path_edges = [G.edges[edge]['index'] for edge in path_edges]
+
path_edges = [G.edges[edge]['Index'] for edge in path_edges]

And then we can plot the route.