def get_distance(p1, p2):
    """It finds the minimum distance between two Points

    Parameters
    ----------
    p1 : shapely geometric object
        The first point
    p2 : shapely geometric object
        The second point

    Returns
    -------
    list
        Returns the minimum distance. The value follows the geometric object projection.

    """
    dist = 5000
    try:
        dist = min(dist, p1.distance(p2))
    except TypeError as err:
        print(f'{err}')

    return [dist]