Questions tagged [compactness]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
252 views

AttributeError: 'NoneType' object has no attribute 'length' when running function for compactness

I want to calculate compactness indices for geometries I have in a geodataframe. I'm using the following function as was mentioned here (Measuring compactness in Python) by Kadir in order to ...
5
votes
1answer
427 views

Measuring compactness in Python [closed]

I have set of polygons whom I would like to check their compactness. I'm working in Jupyter Notebook and my geometry is GeoPandas. I would like to try Polsby-Popper test and Schwartzberg test (and ...