I would like to pass some overpass request into ox.graph_from_place
, but I don't really understand how it works with the doc.
I would like to create a graph with 2 types of roads (where the buses can pass and where the psv can pass too)
Am'i obliged to join my 2 graphs ? Or Is there a more direct method ?
G1 = ox.graph_from_place('Marseille, France', retain_all=True, custom_filter='["bus"="yes"]')
G2 = ox.graph_from_place('Marseille, France', retain_all=True, custom_filter='["psv"="yes"]')
Gtot = nx.disjoint_union(G1,G2)
Does someone know the answer?
Have a good day