I have been using osmnx for a while now, and doing: G = ox.graph_from_point(city_center, distance=distance, network_type='drive', simplify=False) was returning a graph
where an edge iteration for u, v, data in G.edges(keys=False, data=True)
would allow one to access the geographic coordinates of an edge in the following way: data['geometry'].coords
in the latest effort, unfortunately the geometry property was not there. Any chance how one could access the coordinates of a node or an edge now?
Thanks so much!
Here is a code snippet but now even upon data retrieval I get
the following errors: File ../python3.7/site-packages/osmnx/core.py", line 931, in create_graph raise EmptyOverpassResponse('There are no data elements in the response JSON objects') osmnx.errors.EmptyOverpassResponse: There are no data elements in the response JSON objects