Highlight polygons that share a side/edge
Highlight polygons that share a side/edge Question: How do I create a… —I don’t know; list, dict of all the polygons, in a GeoDataFrame, that share a side/edge. The polygons will intersect but never cross. import geopandas as gpd from shapely.geometry import Polygon import matplotlib.pyplot as plt polys = gpd.GeoSeries([Polygon([(0,0), (2,0), (2, 1.5), (2,2), (0,2)]), …