Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
645 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 ...
ReutKeller's user avatar
  • 2,215
5 votes
1 answer
2k 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 ...
ReutKeller's user avatar
  • 2,215