79313554

Date: 2024-12-28 10:00:57
Score: 0.5
Natty:
Report link

Try concave_hull.

You will have to tweak the ratio parameter. With my points I got the best result with 0.086.

import geopandas as gpd
df = gpd.read_file(r"C:\Users\bera\Desktop\gistest\building_points.shp")
ax = df.plot(figsize=(10,10), color="blue", zorder=1, markersize=4)

hull = df.dissolve().concave_hull(ratio=0.086)
hull.plot(ax=ax, zorder=0, color="orange")

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Bera