def read_route(route_file_name):
    """Read route result text file"""
    fin = open(route_file_name)
    route = []
    for line in fin:
        lane = {}
        items = line.strip().split(',')
        lane['id'] = items[0]
        lane['is virtual'] = int(items[1])
        lane['start s'] = float(items[2])
        lane['end s'] = float(items[3])
        route.append(lane)
    return route