conda-forge / osmnx-feedstock

A conda-smithy repository for osmnx.
BSD 3-Clause "New" or "Revised" License
8 stars 10 forks source link

Drive networks between two city are not connected #47

Closed Hartry closed 5 years ago

Hartry commented 5 years ago

Hii everyone,

I ' am getting a drive network of a city in France ( Aubervilliers, France ) with the following code add_Aubervilliers = "Aubervilliers, France" Graphe_Aubervilliers = ox.graph_from_place(add_Aubervilliers, network_type='drive') on which I can applying an Dijkstra algorithm.

But when I trying to apply the same algorithm with a composed graph two connected city (both Saint Denis and Aubervilliers in France) It doesn't works nicely ... I mean, starting from some node, the algorithm doesn't find a way. :-/

add_Saint_denis = " Saint denis, France " Graphe_Saint_denis = ox.graph_from_place(add_Saint_denis, network_type = "drive") Graph_Paris_Auber = nx.compose_all([ Graphe_Saint_denis, Graphe_Aubervilliers ]) It's the same when I compose the graph of paris, Aubervilliers or saint Denis ...

I noticed that some road (intersection) connecting aubervilliers and saint Denis weren't identified. None road is connected to Aubervilliers or saint denis ....

Did I missed something ?

ocefpaf commented 5 years ago

Looks like a usage question that is better asked on StackOverflow or mailing lists. This is just the repository that packages osmnx. I can't help you there.

Hartry commented 5 years ago

Oh okay, i m sorry

Le mar. 25 juin 2019 à 15:10, Filipe notifications@github.com a écrit :

Closed #47 https://github.com/conda-forge/osmnx-feedstock/issues/47.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/conda-forge/osmnx-feedstock/issues/47?email_source=notifications&email_token=AFOZO6Q452VXJPXDMM5QUB3P4IKMXA5CNFSM4H3H3CEKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSFEWHQQ#event-2437505986, or mute the thread https://github.com/notifications/unsubscribe-auth/AFOZO6VP7G77VKOXKDH5AOTP4IKMXANCNFSM4H3H3CEA .

ocefpaf commented 5 years ago

Oh okay, i m sorry

No problem. I blame google for putting this so high up in the search results :smile: