Skip to content
Snippets Groups Projects
Commit b43fc3c1 authored by Léna Aix's avatar Léna Aix
Browse files

modif

parent 9ce41430
Branches
No related tags found
No related merge requests found
...@@ -33,6 +33,10 @@ def coord_to_inter(liste_coord,lat,long,main_street): ...@@ -33,6 +33,10 @@ def coord_to_inter(liste_coord,lat,long,main_street):
indice=dist.index(min(dist)) indice=dist.index(min(dist))
dist.pop(indice) dist.pop(indice)
liste_coord.pop(indice) liste_coord.pop(indice)
elif nom_de_rue==inter_street[0]:
indice=dist.index(min(dist))
dist.pop(indice)
liste_coord.pop(indice)
else : else :
inter_street.append(nom_de_rue) inter_street.append(nom_de_rue)
indice=dist.index(min(dist)) indice=dist.index(min(dist))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment