momepy.
LongestAxisLength
Calculates the length of the longest axis of object.
Axis is defined as a diameter of minimal circumscribed circle around the convex hull. It does not have to be fully inside an object.
GeoDataFrame containing objects to analyse
Examples
>>> buildings['lal'] = momepy.LongestAxisLength(buildings).series >>> buildings.lal[0] 40.2655616057102
Series containing resulting values
original GeoDataFrame
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(gdf)
Initialize self.