Blog/

Vector tiles or GeoJSON: serving a footprint layer at scale

Looking straight up through a tall rectangular building courtyard to a patch of open sky.

Every national footprint program hits the same wall eventually. The polygons are drawn, the attribute schema is settled, and now someone has to put the layer in front of a map. Do you ship it as GeoJSON and let the client parse it, or build a tile pyramid and serve slices?

These two formats solve different problems, and conflating them is how teams end up with a layer that's either unusable in a browser or useless to the analyst who needs the full geometry.

GeoJSON runs out of road fast

GeoJSON is a plain-text format with no built-in spatial index and no concept of zoom level. That's fine for a neighborhood, workable for a small town, and a real problem the moment you cross into county-scale footprint counts. A county with 300,000 structures, each with 6 to 12 vertices plus a handful of attributes, easily produces a file in the hundreds of megabytes. A browser tab has to download the whole thing, parse the whole thing, and hold the whole thing in memory before it can draw a single pixel. Nothing renders until everything's loaded.

Scale that to a state or a country and it stops being a performance problem and becomes a "the tab crashed" problem. There's no graceful degradation with a flat GeoJSON file. It either fits in memory or it doesn't.

What a footprint tile pyramid actually buys you

Vector tiles sidestep this by pre-chunking the layer into a pyramid: a grid of tiles at each zoom level, each one holding only the geometry that falls inside its bounding box, simplified to match what's visible at that zoom. At zoom 10 you might not need individual building vertices at all, just enough shape to read as a built-up block. At zoom 17 you want the full outline, dormers and all. The pyramid encodes that tradeoff once, up front, so the client only ever requests the tile it needs for the current view.

Each tile is also a binary pbf, typically tens of kilobytes instead of megabytes, which is what makes it possible to pan across a metro area without the map stuttering. This is the format underneath nearly every production basemap you've used that renders buildings smoothly while zooming.

Tiles are for rendering, not for analysis

Here's where teams get it wrong in the other direction: they build the tile pyramid and assume it's the deliverable. It isn't, not for every downstream user. A tile is simplified geometry clipped to a tile boundary, which means a building that straddles two tiles can show up split, and the vertex count has been reduced on purpose to keep file size down. That's exactly what you want for a web map. It's the wrong input if a parcel analyst is trying to run a zonal statistic, join footprint area to assessor records, or compute setback distances. For that work they need the canonical polygon, full vertex detail, one feature per building, delivered as GeoJSON or Shapefile they load straight into QGIS or ArcGIS.

So the practical setup most footprint programs land on is to treat vectors as the source of truth and tiles as a derived, disposable product. The canonical layer is what gets refreshed, versioned, and handed to anyone doing real analysis. The tile pyramid gets rebuilt from that layer whenever you need to serve it to a viewer, and you can regenerate it with different simplification settings without touching the underlying data at all.

If your team is still digitizing footprints by hand or stitching together an open dataset that's years out of date in half your coverage area, the output format question is premature. Building Footprints vectorizes every structure across your coverage area from VHR imagery and delivers it as GeoJSON or Shapefile, refreshed annually, so you have a current, complete layer to build either serving path from.

Worth a look if your current footprint layer is the thing slowing everything downstream of it down.

← Back to the blog