def edge2Taz(tazs):
    """Returns the associative array of the TAZ of each SUMO edge"""
    edge2Tazs = {}
    for taz, edges in tazs.items():
        for edge in edges:
            if edge in edge2Tazs:
                print('error for edge: {} (taz {}/{})'.format(edge,
                    edge2Tazs[edge], taz))
            edge2Tazs[edge] = taz
    return edge2Tazs
