I'm interested in calculating some centrality measures on a road network of a city. The geometry of the road network, from Open Street Map, is stored in a postgreSQL / postGIS database and can also be exported as a shapefile or a geojson. What is the best way to import the geometry in graph-tool as a planar graph?
Thank you, 
Duccio