2. Routable network¶
The routable network of each mode: the edges with their edge_id, the nodes and the legal turns.
flowchart LR
db[("#lt;area#gt;.duckdb<br/>(DuckDB)")] --> gis["GIS (GeoPackage, shp)"]
db --> nx["networkx / rustworkx"]
db --> tr["Turn graph router"]
db --> rail["railML"]
| Read by | Output | Command |
|---|---|---|
| Your own router | The turn graph: the table edge_graph in the database |
route(), Router (Route) |
| QGIS, a map style | Base-map layers: water, land use, buildings, POIs, in the database | duckosm build |
| QGIS, ArcGIS, FME | GeoPackage or shapefile: the network as GIS layers | duckosm export-gis |
| networkx | networkx: a networkx graph, GraphML or gpickle | to_networkx(), duckosm export-graph |
| Rail planning: OpenTrack, RailSys | railML 2.4 (experimental): the rail tracks, switches and stations, from raw.* |
duckosm railml |
Every table and column of the database: Routable network tables.