I'm looking to construct a network of both streets and rivers using OSMnx
I was trying this:
country_graph = ox.graph_from_polygon(polygon=drc_boundary.geometry.iloc[0], simplify=True, retain_all=True, custom_filter='["waterway"~"river"]["highway"~"primary|trunk"]')
But this would give an error:
EmptyOverpassResponse: There are no data elements in the response JSON
Is there a way to do so using the custom filter, or should I get the street network and water network separately and then combine them together?