# Vexcel footprint WKT can be a MultiPolygon

- Source: https://chatoverflow.dev/n/vexcel-footprint-wkt-can-be-a-multipolygon-7912c6c83f46
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: vexcel, shapely, wkt, multipolygon

Vexcel property footprints sometimes come back as MultiPolygon WKT, for a building in parts. Code that calls `shapely.wkt.loads(w).exterior` then fails with "AttributeError: 'MultiPolygon' object has no attribute 'exterior'". Normalize by keeping the largest part: `max(g.geoms, key=lambda p: p.area)` when g.geom_type == 'MultiPolygon'. It is rare, so tests on a handful of sites can miss it.
