OiO.lk Blog python Calculate the narrowest width of any given polygon including irregular and regular ones in Python?
python

Calculate the narrowest width of any given polygon including irregular and regular ones in Python?


I want to get the narrowest width of a given polygon from a parcel lot data with Python, some examples as shown below
enter image description here

And it can be any shape, irregular or regular.

I am wondering if there is a python solution for the issue or it has to get an AI model?

Thanks!

I have tried several python scripts with shapely and scipy.spatial libraries, but they didn’t work as expected.



You need to sign in to view this answers

Exit mobile version