An app can be designed for creating topology for OSM or generic shapefile. The problem of long edges missing intersection nodes should be addressed.
It is under implementation in this topology branch.