def get_leftmost_end_point(linestring):
    """
    extracts leftmost end point of linestring
    :param linestring: shapely.geometry.LineString
    :return: shapely.geometry.Point
    """
    point_0_x = linestring.xy[0][0]
    point_1_x = linestring.xy[0][-1]
    if point_0_x <= point_1_x:
        return point_0_x
    else:
        return point_1_x