Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Change the segment->way so that it contains the index of the way, not the id.