---
title: "The day the sky emptied: rendering the FAA outage with ClickHouse FORMAT PNG"
description: "ClickHouse's built-in FORMAT PNG output renders an animated map of the November 13, 2026 FAA outage directly from SQL, with no plotting library."
url: "https://swe.quest/articles/the-day-the-sky-emptied-rendering-the-faa-outage-with-clickhouse-format-png-5517090c4ee462b9"
canonical: "https://clickhouse.com/blog/faa-outage-clickhouse-format-png"
source: "ClickHouse"
published: "2026-11-18"
difficulty: "medium"
kind: "How-to"
reading_minutes: 13
tags: ["analytics","sql","geospatial","databases"]
---

# The day the sky emptied: rendering the FAA outage with ClickHouse FORMAT PNG

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-11-18, 13 min read, How-to. Original: [https://clickhouse.com/blog/faa-outage-clickhouse-format-png](https://clickhouse.com/blog/faa-outage-clickhouse-format-png)

## Summary

ClickHouse's built-in FORMAT PNG output renders an animated map of the November 13, 2026 FAA outage directly from SQL, with no plotting library. A query over the 380-billion-row adsb.exposed table pre-aggregates positions into per-frame, per-pixel rows using Morton-ordered Web Mercator coordinates and bit shifts. A second query paints four layers (a day-long ghost, the aircraft, a timeline and bitmap-font text) via ARRAY JOIN and the painter's algorithm, producing about 130 million pixel rows and 288 frames in 31 seconds. The data shows cruising-altitude traffic falling to under a tenth of its early-afternoon level by 20:00 ET; the post also covers float clamping, streaming animation mode to cut memory from 1.2 GB, and palette conversion shrinking the APNG from 150 MB to 25 MB.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [SQL](https://swe.quest/tags/sql.md) (Languages)
- [Maps & geospatial](https://swe.quest/tags/geospatial.md) (Domains)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- SQL aggregation ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- ClickHouse basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- Web Mercator projection

## Keywords

ClickHouse, FORMAT PNG, adsb.exposed, ADS-B, APNG, clickhouse-local, Morton encoding, ffmpeg

## Related posts

- [Announcing adsb.exposed - Interactive Visualization and Analytics on ADS-B Flight Data with ClickHouse](https://swe.quest/articles/announcing-adsb-exposed-interactive-visualization-and-analytics-on-ads-b-flight-c60e1aa85bc6d003.md): ClickHouse · 2024-04-24 · Medium · 12 min read · Analytics & OLAP, Maps & geospatial, SQL, Frontend
  adsb.exposed renders tens of billions of ADS-B flight records as interactive map tiles.
- [Global weather data from flying airplanes](https://swe.quest/articles/global-weather-data-from-flying-airplanes-cde04437bfc1d39f.md): ClickHouse · 2025-11-03 · Medium · 6 min read · Analytics & OLAP, SQL, Maps & geospatial
  Weather can be inferred from ADS-B airplane telemetry stored in ClickHouse by comparing air-relative and ground-relative measurements.
- [Visualizing Foursquare places with ClickHouse](https://swe.quest/articles/visualizing-foursquare-places-with-clickhouse-7a2e9fe18ad158f7.md): ClickHouse · 2025-05-08 · Medium · 5 min read · Maps & geospatial, Analytics & OLAP, SQL
  The Foursquare open places dataset (about 100 million records) loads straight from S3 Parquet into ClickHouse in 42 seconds and 11 GB.
- [How Grupo MasMovil Monitors Radio Access Networks with ClickHouse](https://swe.quest/articles/how-grupo-masmovil-monitors-radio-access-networks-with-clickhouse-a830d8f08bd1426f.md): ClickHouse · 2024-02-16 · Medium · 8 min read · Analytics & OLAP, Observability, Databases, Cost optimization
  Grupo MasMovil replaced legacy telecom monitoring tools with ClickHouse to track thousands of radio access network nodes that emit hundreds of counters every 15 minutes, roughly 3 TB per day.
- [Analyzing AWS Flow Logs using ClickHouse](https://swe.quest/articles/analyzing-aws-flow-logs-using-clickhouse-23253efe677ab3d4.md): ClickHouse · 2023-02-06 · Medium · 12 min read · Analytics & OLAP, Cloud platforms, Networking, Cost optimization, SQL
  VPC Flow Logs exported to S3 as Parquet can be loaded into ClickHouse and queried with SQL to find rejected traffic, top talkers, internet ingress/egress and costly cross-AZ transfers.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
