Blog/
Joining Building Footprints to parcels without creating duplicate rows

Run a plain spatial join between a footprint layer and a parcel fabric and the row count almost never matches what you started with. You get parcels matched twice because a garage and a house both clip the same boundary, buildings matched to two parcels because the roofline straddles a lot line, and a few hundred footprints with no parcel at all because the cadastral layer hasn't caught up with new construction. None of that is a bug in your GIS. It's what happens when two polygon layers digitized by different people, at different times, for different purposes, get forced together with ST_Intersects and nothing else.
Why a plain intersects join doubles your row count
ST_Intersects (or the ArcGIS Spatial Join equivalent) returns every pair of polygons that touch at all. A detached garage, a shed, and a pool house sitting on one lot will each produce their own row against the same parcel, which is correct if your output model is one row per building. The trouble starts when a footprint crosses a parcel line, a half-meter sliver from a digitizing offset or a real party wall on an attached rowhouse, and the join returns that building against both parcels. Multiply that across a county's worth of boundary edges and you've got thousands of duplicate footprint-parcel pairs that didn't exist in either source layer on its own.
Fixing this means picking a join rule that decides, for every ambiguous case, which parcel actually owns that building, before the pairs ever land in your output table.
Picking a join rule: centroid vs. overlap area
Two rules cover most cases:
Centroid-in-polygon. Take the footprint's geometric centroid and test which parcel contains it with ST_Within or ST_Contains. Fast, and it resolves nearly every straddling case cleanly because a centroid falls in exactly one polygon. It breaks on L-shaped or oddly configured buildings where the centroid sits outside the footprint entirely, and on true multi-parcel structures like a rowhouse spanning a shared wall, where the centroid lands arbitrarily on one side.
Largest overlap area. For each footprint, calculate ST_Intersection area against every candidate parcel and keep the match with the highest overlap percentage. This handles the L-shaped and straddling cases correctly and gives you a numeric confidence score you can threshold on, but it costs more compute at national scale and needs a tiebreaker rule for genuine 50/50 splits.
Most property-data pipelines end up running centroid-in-polygon as the default join and falling back to overlap area only for the subset of footprints that returned zero or more than one parcel match on the first pass. That subset is usually under 2% of the total, which keeps the expensive geometry calculation off the bulk of the run.
Building a QA pass that catches what the join misses
Whatever join rule you pick, run three checks against the output before it goes downstream:
- Footprints with no parcel match. These are usually new construction the parcel fabric hasn't absorbed yet, or footprints just outside the parcel layer's coverage boundary. Flag them for manual review rather than dropping them silently.
- Parcels with an unexpectedly high footprint count. A single-family parcel matching one footprint is normal. One matching six usually means accessory structures got picked up correctly, but it's worth a spot check against the orthophoto for cases where it signals a digitizing artifact instead.
- Footprints that nearly tied between two parcels. Anything where the top two overlap percentages are within, say, five points of each other is a genuine edge case, not a bug, and deserves a human look rather than an automated tiebreaker.
The quality of this whole process rides on how clean the input footprint layer is to begin with. A footprint layer traced by hand from satellite imagery introduces its own offsets and generalization, which is exactly the kind of noise that produces false straddling matches at parcel boundaries. Building Footprints vectorizes structures from VHR imagery into a consistent polygon layer refreshed every year, so the join logic above runs against footprints with predictable geometry instead of a patchwork pulled from several vintages and sources.
If duplicate matches are eating into your parcel linkage pipeline, see what a cleaner footprint layer does to your join rate.