portolan-pipeline
County polygons whose value is the GEOID column, the five-digit FIPS
key to US county statistics. Join ACS and decennial downloads on
GEOIDFQ instead, it matches their GEO_ID column verbatim. COUNTYNS
is the identifier that survives FIPS changes across years.
Query the GeoParquet data asset in place with DuckDB spatial, read_parquet('us-counties.parquet'), or load it with GeoPandas. It streams over HTTP range requests, so query the published URL directly rather than downloading first. For rendering use the visual PMTiles asset with its MapLibre styles.
EPSG:4269, NAD83, a geographic coordinate reference system whose coordinates are in degrees.
Planar distance and area functions return degrees and square degrees, which are not ground units and vary with latitude. For real distances and areas use a sphere or spheroid function, or transform to a projected CRS first.
The data asset carries the same code as proj:code.
The spheroid function works here once geometry_always_xy is set.
Without it 1,646 of the 3,235 counties return NaN, which reads like a
geometry problem and is not. Transforming to an equal-area CRS is
still the better habit, since it leaves you somewhere you can measure,
and the query below does that.
For web mapping, treating the NAD83 coordinates as WGS84 shifts nothing visible at this generalization level.
Counties per state.
Which county contains a point, longitude first.
Cheap spatial windows from the bbox covering column.
No attribute join inside this catalog, the FIPS ecosystem lives
outside it. Spatial joins against boundaries/boston-open-space or the
Natural Earth layers work at matching scales. Converted from the
upstream zipped Shapefile with DuckDB spatial into web-optimized
GeoParquet 2.0.