def redistribute_vertices(geom, distance):
    if geom.geom_type == 'LineString':
        num_vert = int(round(geom.length / distance))
if num_vert == 0:
    num_vert = 1
Interpolating every X distance along multiline in shapely