def compactness_frompts(geoseries):
    """
    Inverse of 4 * pi * Area / perimeter^2
    """
    measure = (
        4 * 3.1415 * (
            (geoseries.unary_union).convex_hull.area)
        ) / (
            (geoseries.unary_union).convex_hull.length
        )
    return measure