def multilinestring_from_voronoi(vor, geometry):
    linestrings = []
    for i in vor.ridge_vertices:
        if i[0]>-1 and i[1]>-1:
            point1 = Point(vor.vertices[i][0])
            point2 = Point(vor.vertices[i][1])
            # Eliminate all points outside our geometry.
            if point1.within(geometry) and point2.within(geometry):
                linestring = LineString([point1, point2])
                linestrings.append(linestring)
    multilinestring = MultiLineString(linestrings)
    return multilinestring
Read basic options from the daemon config file
dataset/ETHPy150Open ungarj/label_centerlines/src_create_centerlines.py/multilinestring_from_voronoi--crossover with--dataset/ETHPy150Open kiberpipa/Intranet/pipa/ltsp/src/ltsp_usage_monitor/daemon.py/Daemon.read_basic_config