Nine years after SpaceNet 2, one model maps a city strip for under a dollar
In 2017 the winning entry found building footprints at F1 0.693. A single model trained in 53 minutes now scores 0.755, and it has mapped all 157,339 buildings in the Vegas image strip.
Scroll to follow the project. The map on the right streams the original satellite strip and every vector layer as you go. Use the panel to switch layers and explore on your own.
650-pixel chips from four cities
SpaceNet 2 cut 0.3 m WorldView-3 imagery of Las Vegas, Paris, Shanghai and Khartoum into 650 × 650 px chips, about 200 m on a side, with hand-drawn building outlines. The official test labels were never released, so this project holds out 10 % of the public training chips as validation. No model ever trains on them.
Scoring is the challenge's own: a predicted outline counts only if it overlaps a labelled building by IoU ≥ 0.5, one to one. F1 is computed per city and averaged.
Off-the-shelf models, no SpaceNet training
Vision-language models can't draw footprints. Their boxes are too loose for IoU 0.5. Used as prompts for SAM 2.1, though, Gemma 4's boxes reach 0.462. Given perfect boxes, SAM 2.1 scores 0.970, so the problem is finding buildings, not outlining them.
SAM 3 with the single word "building" scores 0.642 on all 1,037 validation chips. That's level with 2017's second place and 0.05 behind the winner, with zero SpaceNet labels.
Show as table
A one-hour model beats the 2017 winner in every city
The model is a U-Net with an ImageNet-22k ConvNeXt-B encoder, plain RGB input and three outputs (building, border, building-to-building contact), split into instances by watershed. It trained for 53 minutes on one A100, costing about $2.20.
It scores 0.755 overall against XD_XD's 0.693. The gains are largest in the hard cities: Shanghai +0.11, Khartoum +0.07.
Show as table
Rerunning the 2017 winner, code unchanged
XD_XD's weights were never released, so his original Keras 1 code was retrained on the same split. It runs on PyTorch through a compatibility shim, with 2017 OpenStreetMap layers rebuilt from the May 2017 planet file. Paris and Khartoum finished:
- 0.697Paris, XD_XD retrained. Our model: 0.807
- 0.512Khartoum, XD_XD retrained. Our model: 0.611
On identical tiles the 2026 model leads by about 0.10. SAM 3, with no training, lands within 0.02 of the retrained winner in both cities.
The 2017 winner's extra inputs no longer help
- ±0.0048-band multispectral vs RGB. Extra bands started at zero weight; every 95 % interval contains 0, Khartoum included.
- +0.005Post-processing, searched with cross-validation over 36 settings, dilation and minimum area.
- −0.039DINOv3 satellite-pretrained ViT-L in place of ConvNeXt-B, with 3× the parameters. The independent GEO-Bench-2 leaderboard agrees: ImageNet ConvNeXts match or beat every remote-sensing foundation model on SpaceNet 2.
The gain comes from a pretrained convolutional encoder plus an output that separates touching buildings. Colour bands, OpenStreetMap layers and ensembles add nothing measurable.
About 400 labelled chips beat the 2017 winner
The same model was retrained on random subsets of the 9,041 labelled chips. The city mix and the 20k-step training budget stayed the same, and every run was scored on the full validation set.
Show as table
- ~150chips (about 3,000 buildings) to beat zero-shot SAM 3
- ~400chips (about 8,000 buildings, 4 % of the labels) to beat XD_XD's 2017 winning score, which used all of them
- ~2,000chips for 97 % of the full result. Beyond that, each doubling adds about 0.01.
Vegas is nearly saturated at 1,000 chips. Shanghai is still improving at 9,041, so extra labelling pays off most in dense, irregular cities.
Training on more SpaceNets makes one model general
Adding the SN4 (Atlanta, 27 look angles), SN6 (Rotterdam) and SN8 (Louisiana, Germany) training sets costs 0.017 on SN2 and roughly doubles F1 elsewhere. Test areas are held out by location, and SN6 was re-split geographically after an overlap audit caught leakage.
Show as table
New cities still need local labels. A model trained on SN4, SN6 and SN8 alone scores 0.325 on the SN2 cities, about half of zero-shot SAM 3.
SpaceNet 4: level with the 2019 winner
SpaceNet 4 photographed Atlanta from 27 look angles, from 7° to 54°. The same recipe, trained only on SN4 at its native 0.5 m, scores 0.642 on the challenge metric: per-building F1 averaged over three look-angle bands. Borrowing the winner's main idea, telling the network the look angle and the collect, plus thresholds tuned per band on held-out training locations, raises it to 0.680.
Then we stopped flipping and rotating the training images. Within one collect every building leans the same way, and flips hide that lean from the network. Trained that way on all ~950 locations, a single model scores 0.701, ahead of 5th place (0.695) and 0.029 behind cannab's winning 0.730.
To close the rest we went for the winner's level. We trained four models at 2× resolution, three of them also told where each tile sits in the city. We kept the best combination, chosen on held-out training locations, and added cannab's last trick: a classifier that drops likely false positives. On our 40 test locations it scores 0.751, ahead of cannab in every band.
Show as table
Each step paid off most where buildings lean. The look-angle input added 0.031, most of it past 40°. Dropping flips changed nadir by under 0.01, but added 0.06–0.09 at 52–53°.
But call it a tie, not a win. The same pipeline scores 0.715 on the 48 held-out tuning locations, and 0.729 pooled over all 88 held-out locations, level with cannab's 0.730. Which locations happen to be drawn moves the score by about ±0.03, more than the margin. SN4's official test labels were never released, so no split we can make reproduces his test exactly.
Overture matches SpaceNet in Vegas, and only there
Overture Maps merges OpenStreetMap, Microsoft ML Buildings and Google Open Buildings. In Vegas it agrees with SpaceNet's labels at F1 0.80, so here it is a usable second reference.
Elsewhere it scores 0.10–0.19 because the conventions differ. Paris footprints are offset from the rooftops in off-nadir imagery. Shanghai's dataset draws whole terraces as one shape. Khartoum's OpenStreetMap maps walled compounds instead of the buildings inside.
157,339 buildings, seamless, in 30 minutes
The model ran over the entire strip, about 14 × 16 km, read straight from SpaceNet's public cloud-optimised GeoTIFFs. It worked in 1,300 px windows and kept each building only where its centre falls in the window's core. That includes 39,595 buildings outside any SpaceNet chip.
- 0.897F1 against SpaceNet labels on the 386 held-out Vegas chips. The per-chip result was 0.892.
- 0.825agreement with Overture outside SpaceNet's area, against 0.829 inside. Accuracy holds on unlabelled ground.
What the whole project cost
The work ran over about three days, almost all of it waiting on GPU jobs. The full session transcript, scrubbed of personal details, is in the repository's trace/ folder. The per-job cost accounting is in results/costs.json.
Code and write-up: github.com/dlindenbaum/Spacenet-Speedrun. Footprints as GeoParquet: huggingface.co/datasets/Rootkit29/vegas-wv3-building-footprints. This story is public at huggingface.co/spaces/Rootkit29/spacenet-speedrun.
Your turn
Pan and zoom freely. Imagery sharpens to 1.2 m as you zoom in, and two areas carry the full 0.3 m. Footprint layers load chunk by chunk for the area in view. Hover any building for its details.