3 Dec
2017
3 Dec
'17
12:57 p.m.
On 02.12.2017 20:22, Rafael Pereira wrote:
OSMnnx also allows one to save the graph as a GraphML file, which I believe can be easily read by graph-tool as a planar graph if I'm not mistaken.
It seems to me this is by far the easiest choice. In addition to exporting to graphml, it is also simple to iterate over the edges of the OSMnnx graph and add them to a graph-tool graph. (Note that road networks need not to be planar; they may contain bridges and tunnels.) Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>