Measuring District Compactness in PostGIShttps://www.azavea.com/blog/2016/07/11/measuring-district-compactness-postgis/