A demonstration of cloud-native geospatial

No API.
No server.
Just files.

The Census Atlas maps every US county, tract, block group, ZIP code, place and census block. Nothing serves that data. There is no tile server, no feature service, no database and no API — only static files on object storage, read directly by your browser over HTTPS.

53
collections
12.4M
rows
297
columns
26GB
open data
0
servers

01

Three file formats, and that is the whole stack

Cloud-native geospatial means a format designed so that a client can read part of a file over HTTP, rather than downloading all of it or asking a server to slice it. Everything in this atlas rests on that one idea: an HTTP range request.

PMTiles

What you see on the map

One file per collection holding every vector tile at every zoom, with a directory at the front. MapLibre reads the directory, works out which byte ranges hold the tiles on screen, and asks for exactly those. 52 archives, 18.1 GB — of which a typical map view fetches a few hundred kilobytes.

Replaces: a tile server

GeoParquet

The numbers behind it

Columnar tables with the geometry in them. A query for two columns reads only those two columns, and a bbox column lets a reader skip every row group outside your area. 133 files, 7.7 GB, queryable in place by DuckDB, GeoPandas, QGIS or anything else that speaks Parquet.

Replaces: a feature service and a database

STAC

How anything finds it

A tree of plain JSON describing every collection: its columns, its row count, its extent, its licence, its provenance and the URL of every file. One root document, crawlable by a script, a catalog browser or a language model.

Replaces: a metadata API and a docs site

The request path from your browser to object storage Your browser sends HTTP range requests straight to object storage, which returns tile and column bytes. No server sits between them. Your browser MapLibre · DuckDB Python · an LLM GET + Range: bytes=… 206 Partial Content no server here Object storage Source Cooperative collection.json county-income.parquet counties.pmtiles
The app on this domain is static too: HTML, CSS and ES modules on GitHub Pages. Open the network tab while you pan the map — every request goes to object storage, and most are 206 Partial Content.

02

Getting the data

The Portolan Browser is the front door: it walks the STAC tree, shows every collection's columns and extent, and gives you the download links and copyable queries for each one.

03

Querying this with an LLM

You can ask questions of this data in plain language and get real answers back, because the catalog describes itself in text and every file is reachable by URL. An assistant reads what exists, writes the query and runs it. Nothing is loaded, uploaded or provisioned first.

Step 1

Install the Portolan skills

The skills teach an assistant how to read a Portolan catalog: how to navigate the metadata, how to query GeoParquet with DuckDB, and how to join data across catalogs. In Claude Code:

/plugin marketplace add portolan-sdi/portolan-skills
/plugin install portolan

Other assistants can read the same guidance directly from the skills repository.

Step 2

Point it at the catalog

One prompt is the whole setup. It names the skill to read and the address to start from, and everything else is discoverable from there.

Read the reading-portolan skill, then explore this Portolan catalog: https://data.source.coop/portolan-mirrors/us-census-catalog/catalog.json

Read the AGENTS.md at the catalog root before querying. It documents the join keys, the column meanings and the traps. Then tell me what is in here.

AGENTS.md sits at the catalog root and in every collection. It states the join keys, documents each column against the census table it comes from, and spells out how to read the margins of error. Every claim in it is quoted from the Census Bureau or measured from the data, so an assistant that reads it first does not have to guess.

Step 3

Ask for the answer

Then just ask. Ask for the finding, not for the SQL — a capable assistant picks the collection, writes the query, runs it and tells you what it found.

Which 10 counties have the highest share of households with no internet subscription, and what is the median household income in each?

The guide tells it the rest: to report the margin of error, to keep unreliable small areas out of a ranking, and to say what the number is about. You do not have to ask for any of that.

Questions that suit this data

This data is strongest on comparison — between places, across scales and over time. Each of these is a prompt you can paste as it stands.

Ranking

“Which 20 census tracts in Texas have the highest rent burden, and how does each compare to its county’s median?”

One thing against another

“Across all counties, what is the relationship between the share of adults with a bachelor’s degree and median household income? Which counties are the biggest exceptions?”

Change over time

“Which counties saw median gross rent rise most between the 2015–2019 and 2020–2024 releases, and did their poverty rate move with it?”

Somewhere specific

“What are the demographics of the census tract containing 40.7128, -74.0060, and how do they differ from the surrounding county?”

Zooming in

“Within Cook County, Illinois, how much does the poverty rate vary between neighbourhoods, and which have the most and least internet access?”

Your own data alongside

“Here is a CSV of our store locations. For each one, give me the median income and population density of its census tract.”

Another catalog alongside

“Using the TriMet catalog in the Portolan registry, which Portland neighbourhoods have the most transit stops, and do the people there actually commute by transit?”

A question nobody published

“How many people in Harris County, Texas live in a FEMA high-risk flood zone, and are they poorer than the county as a whole?”

04

What is in here

Ten groups, 53 collections. Indicators come from the American Community Survey 2020–2024 five-year release unless the collection name says otherwise; collections marked dec2020 are 2020 Decennial counts, which are complete counts rather than estimates.

GeographyRowsThemes published
States & equivalents56boundaries, people, income, housing, connectivity, wellbeing
Counties3,235boundaries, people, income, housing, connectivity, wellbeing
Congressional districts 119th441boundaries, people, income, housing, connectivity, wellbeing
ZIP code tabulation areas33,791boundaries, people, income, housing, connectivity, wellbeing
Places & CDPs32,612boundaries, people, income, housing, connectivity, wellbeing
Census tracts85,184people, income, housing, connectivity, wellbeing, + 3 decennial
Block groups242,298people, income, housing, connectivity, + 3 decennial
Census blocks 2020 counts8,174,955race, voting-age population, housing occupancy
Trends 2015–20246,470 counties12 indicators across two ACS releases, with change
Reference geography1,215,746urban areas, area and point landmarks, geography crosswalks

How a question becomes a query

None of the question shapes above need you to know this. It is here because the mechanisms are simple, and knowing them tells you what else you could ask.

To ask aboutThe mechanism
Two themes at once Income, people, housing, connectivity and wellbeing are separate files at each geography, joined 1:1 on geoid.
Change over time The trends collections carry both ACS releases in a period column, with a chg_ column per indicator so the difference is already computed.
A bigger or smaller area geoid nests by prefix: a block group’s first 11 characters are its tract, its first 5 its county, its first 2 its state. No crosswalk needed.
A point on the map ST_Contains against the geometry column. The geometries are in the files, so no geocoder and no spatial database are involved.
Only one city A bbox column lets the reader skip every row group outside the window, so a national file answers a local question without being downloaded.
Your own data DuckDB reads your local CSV and the remote GeoParquet in the same query. Nothing is uploaded.
Another catalog Two URLs in one query. Check the CRS of each side first — publishers differ, and a silent mismatch returns zero rows rather than an error.

The join key

geoid is the Census Bureau's GEOID, and it nests by prefix. A block group's first 11 characters are its tract; the first 5 are its county; the first 2 are its state. That is how you roll a tract question up to a county, or push a county question down to block groups, without a crosswalk.

Suffixes on columns

_moe is the 90% margin of error for the estimate beside it. _cv is the coefficient of variation, a quick reliability check: above about 30, treat the estimate as weak. pct_ columns are percentages, not proportions — 4.23 means 4.23%.

Per-collection guides

Every collection ships a README.md and an AGENTS.md next to its data, listing each column with its source census table. Start from the root AGENTS.md and follow it down.

05

Queries that run

You do not need any of this to use the data — asking in plain language works. It is here for the reader who wants to see the SQL, and as proof that the recipes are real: every one was executed against the published files, over the public internet, with no credentials, and CI runs them all again on every change.

Show the queries 8 worked examples · DuckDB and Python

The highest-income counties in the country

The simplest shape: one remote file, sorted. Returns in a second or two, having read two columns out of a 13 MB table.

INSTALL spatial; LOAD spatial; INSTALL httpfs; LOAD httpfs;

SELECT name, state, median_hh_income, pct_below_poverty
FROM read_parquet('https://data.source.coop/portolan-mirrors/us-census-catalog/counties/county-income/county-income.parquet')
WHERE median_hh_income IS NOT NULL
ORDER BY median_hh_income DESC
LIMIT 5;
Result
┌────────────────────────────────┬─────────┬──────────────────┬───────────────────┐
│              name              │  state  │ median_hh_income │ pct_below_poverty │
├────────────────────────────────┼─────────┼──────────────────┼───────────────────┤
│ Loudoun County, Virginia       │ VA      │         181765.0 │              4.23 │
│ Santa Clara County, California │ CA      │         164281.0 │              7.11 │
│ San Mateo County, California   │ CA      │         158855.0 │              6.71 │
│ Fairfax County, Virginia       │ VA      │         153637.0 │              5.94 │
│ Howard County, Maryland        │ MD      │         149763.0 │              5.23 │
└────────────────────────────────┴─────────┴──────────────────┴───────────────────┘

Joining two themes on geoid

Income and connectivity are separate collections. geoid joins them — and joins either to any other theme at the same geography.

LOAD spatial; LOAD httpfs;
SET VARIABLE base = 'https://data.source.coop/portolan-mirrors/us-census-catalog';

SELECT i.name, i.median_hh_income AS income, c.pct_no_internet
FROM read_parquet(getvariable('base') || '/counties/county-income/county-income.parquet') i
JOIN read_parquet(getvariable('base') || '/counties/county-connectivity/county-connectivity.parquet') c
  USING (geoid)
WHERE i.median_hh_income IS NOT NULL AND c.pct_no_internet IS NOT NULL
ORDER BY c.pct_no_internet DESC
LIMIT 4;
Result
┌───────────────────────────────────┬─────────┬─────────────────┐
│               name                │ income  │ pct_no_internet │
├───────────────────────────────────┼─────────┼─────────────────┤
│ Maricao Municipio, Puerto Rico    │ 21302.0 │           60.51 │
│ Las Marías Municipio, Puerto Rico │ 16314.0 │            58.8 │
│ Claiborne Parish, Louisiana       │ 32831.0 │           45.37 │
│ San Germán Municipio, Puerto Rico │ 18317.0 │           43.63 │
└───────────────────────────────────┴─────────┴─────────────────┘

What changed between the two ACS releases

The trends collections hold both periods. Filter to one period and the chg_ columns give you the movement without a self-join.

LOAD spatial; LOAD httpfs;

SELECT name, period, median_gross_rent, chg_median_gross_rent
FROM read_parquet('https://data.source.coop/portolan-mirrors/us-census-catalog/trends/county-trends/county-trends.parquet')
WHERE period = '2020-2024' AND chg_median_gross_rent IS NOT NULL
ORDER BY chg_median_gross_rent DESC
LIMIT 4;
Result
┌───────────────────────────┬───────────┬───────────────────┬───────────────────────┐
│           name            │  period   │ median_gross_rent │ chg_median_gross_rent │
├───────────────────────────┼───────────┼───────────────────┼───────────────────────┤
│ Jackson County, Colorado  │ 2020-2024 │            1701.0 │                1076.0 │
│ Park County, Colorado     │ 2020-2024 │            2161.0 │                1036.0 │
│ Irion County, Texas       │ 2020-2024 │            1950.0 │                 919.0 │
│ Cameron Parish, Louisiana │ 2020-2024 │            1688.0 │                 783.0 │
└───────────────────────────┴───────────┴───────────────────┴───────────────────────┘

Which tract contains this point

A spatial predicate against 85,184 tract geometries, straight over HTTPS. No geocoder, no PostGIS, no upload.

LOAD spatial; LOAD httpfs;

SELECT geoid, name, median_hh_income
FROM read_parquet('https://data.source.coop/portolan-mirrors/us-census-catalog/tracts/tract-income/tract-income.parquet')
WHERE ST_Contains(geometry, ST_Point(-122.4862, 37.7694));
Result
┌─────────────┬─────────────────────────────────────────────────────┬──────────────────┐
│    geoid    │                        name                         │ median_hh_income │
├─────────────┼─────────────────────────────────────────────────────┼──────────────────┤
│ 06075980300 │ Census Tract 9803, San Francisco County, California │         107188.0 │
└─────────────┴─────────────────────────────────────────────────────┴──────────────────┘

Reading only one city's worth of bytes

This is the cloud-native part made visible. The bbox column lets DuckDB skip every row group outside the window, so a national table answers a Manhattan question in about seven seconds without being downloaded.

LOAD spatial; LOAD httpfs;

SELECT count(*) AS tracts_in_bbox
FROM read_parquet('https://data.source.coop/portolan-mirrors/us-census-catalog/tracts/tract-income/tract-income.parquet')
WHERE bbox.xmin > -74.02 AND bbox.xmax < -73.90
  AND bbox.ymin >  40.70 AND bbox.ymax <  40.88;
Result
┌────────────────┐
│ tracts_in_bbox │
├────────────────┤
│            596 │
└────────────────┘

All 8.2 million census blocks

The blocks collection is partitioned by state, so a two-state question touches two files. A Hive-partitioned glob needs the anonymous S3 endpoint: the HTTPS gateway cannot list a directory, so a glob over it returns 404.

LOAD spatial; LOAD httpfs;
SET s3_region = 'us-west-2';
SET s3_url_style = 'path';   -- the bucket name has dots; vhost URLs fail TLS

SELECT state, count(*) AS blocks, sum(pop_total) AS people
FROM read_parquet(
  's3://us-west-2.opendata.source.coop/portolan-mirrors/us-census-catalog/blocks/state_fips=*/*.parquet',
  hive_partitioning = true)
WHERE state_fips IN ('44', '50')
GROUP BY state
ORDER BY state;
Result
┌─────────┬────────┬─────────┐
│  state  │ blocks │ people  │
├─────────┼────────┼─────────┤
│ RI      │  25649 │ 1097379 │
│ VT      │  24611 │  643077 │
└─────────┴────────┴─────────┘

Joining another catalog

Nothing about this is special to the census. Every catalog in the Portolan registry publishes files the same way, so a join across two of them is one query against two URLs. Neither publisher has to agree to anything, and no data moves anywhere.

Transit stops against transit commuting, Portland

Census tracts from this catalog, bus and rail stops from the TriMet catalog. TriMet publishes in Oregon State Plane feet, so the stops are reprojected in the query — the one wrinkle worth knowing about a cross-catalog join.

LOAD spatial; LOAD httpfs;

WITH pdx AS (
  SELECT geoid, name, geometry, pct_commute_transit, pct_hh_no_vehicle
  FROM read_parquet('https://data.source.coop/portolan-mirrors/us-census-catalog/tracts/tract-connectivity/tract-connectivity.parquet')
  WHERE geoid LIKE '41051%'          -- Multnomah County, Oregon
),
stops AS (
  SELECT stop_id,
         ST_Transform(geometry, 'EPSG:2913', 'EPSG:4326', always_xy := true) AS geom
  FROM read_parquet('https://data.source.coop/cholmes/trimet/stops/stops.parquet')
)
SELECT p.name, p.pct_commute_transit, p.pct_hh_no_vehicle, count(s.stop_id) AS stops
FROM pdx p LEFT JOIN stops s ON ST_Contains(p.geometry, s.geom)
GROUP BY ALL ORDER BY stops DESC LIMIT 5;
Result
┌──────────────────────────────────────────────┬─────────────────────┬───────────────────┬───────┐
│                     name                     │ pct_commute_transit │ pct_hh_no_vehicle │ stops │
├──────────────────────────────────────────────┼─────────────────────┼───────────────────┼───────┤
│ Census Tract 72.02, Multnomah County, Oregon │                1.62 │              1.01 │    88 │
│ Census Tract 43, Multnomah County, Oregon    │                 0.0 │              4.11 │    76 │
│ Census Tract 102, Multnomah County, Oregon   │                0.59 │              4.07 │    67 │
│ Census Tract 23.03, Multnomah County, Oregon │               18.14 │             38.05 │    59 │
│ Census Tract 73, Multnomah County, Oregon    │               10.76 │               0.0 │    55 │
└──────────────────────────────────────────────┴─────────────────────┴───────────────────┴───────┘

The most-served tract barely commutes by transit; the tract with 59 stops sends 18% of its commuters on it and has 38% of households without a car. Stop counts are not service, and this is the kind of question that has no published answer to look up.

Who lives in the floodplain, Harris County

Census block groups here, flood zones from the FEMA National Flood Hazard Layer catalog, which publishes one file per county. A block group counts as at risk when its centroid falls inside a FEMA Special Flood Hazard Area.

LOAD spatial; LOAD httpfs;

WITH bg AS (
  SELECT geoid, population, median_hh_income, ST_Centroid(geometry) AS pt
  FROM read_parquet('https://data.source.coop/portolan-mirrors/us-census-catalog/block-groups/bg-income/bg-income.parquet')
  WHERE geoid LIKE '48201%'          -- Harris County, Texas
),
sfha AS (
  -- FEMA publishes EPSG:4269, this catalog OGC:CRS84. Reconcile them or
  -- DuckDB refuses the comparison.
  SELECT ST_Transform(geometry, 'EPSG:4269', 'OGC:CRS84', always_xy := true) AS geom
  FROM read_parquet('https://parquetry.geomermaids.com/nfhl/latest/state=TX/48201C.parquet')
  WHERE sfha                          -- Special Flood Hazard Area
)
SELECT
  CASE WHEN EXISTS (SELECT 1 FROM sfha f WHERE ST_Contains(f.geom, bg.pt))
       THEN 'high-risk flood zone' ELSE 'outside it' END AS area,
  count(*) AS block_groups,
  sum(population) AS people,
  round(median(median_hh_income)) AS median_income
FROM bg GROUP BY 1 ORDER BY people DESC;
Result
┌──────────────────────┬──────────────┬─────────┬───────────────┐
│         area         │ block_groups │ people  │ median_income │
├──────────────────────┼──────────────┼─────────┼───────────────┤
│ outside it           │         2468 │ 4242605 │       72764.0 │
│ high-risk flood zone │          362 │  595698 │       68857.0 │
└──────────────────────┴──────────────┴─────────┴───────────────┘

A centroid is in or out, so this counts whole block groups and will miss people near a zone edge. It is an estimate of the order of magnitude, not a flood-insurance determination.

Python, if you would rather

GeoPandas reads the same files. So does anything built on Arrow or GDAL — QGIS will open these URLs directly.

# pip install geopandas pyarrow "fsspec[http]"
import fsspec
import geopandas as gpd

base = "https://data.source.coop/portolan-mirrors/us-census-catalog"
url = f"{base}/counties/county-income/county-income.parquet"

# pyarrow does not resolve https:// on its own, so open the URL with fsspec
# and hand GeoPandas the file object. Naming columns keeps the read small.
with fsspec.open(url) as f:
    gdf = gpd.read_parquet(f, columns=["name", "median_hh_income", "geometry"])

gdf.nlargest(5, "median_hh_income")[["name", "median_hh_income"]]