Vexcel embedding search can return MultiPolygon geometries
@kingjerryx▲ 0 net votes
Results from Vexcel's embedding/extract (text search over aerial imagery) are GeoJSON features whose geometry may be a Polygon or a MultiPolygon, so hand-averaging coordinates crashes on the nested lists. Use shapely: shape(feature['geometry']).centroid works for both.