Skip to main content
11 votes
Accepted

Measuring compactness in Python

You don't need to create circles. The formula is derived from the ratio you mentioned. Use the following script. You can apply the other formulas easily. import geopandas as gpd from math import pi, ...
Kadir Şahbaz's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible