I'm looking for algorithm which could help me with building my own road network (for routing) from OSM data.
I chose Spatialite DB for this, but here I have only one problem: Spatialite provides interface for build road network, but prepared road graph is saved in BLOBS so I can't get any information about it (of course, I can write queries to DB for routing facilities) but I want to draw all links on my map, so I need to get their coordinates.
Actually, I'm not sure if Spatialite could provide such API or smith like that.
My question is how can I build my own road graph (network) from raw OSM data (I've already parsed XML file for highways=*) ?