Resources Stage 12 enrichment plan

Documentation index · Generation methods · Generation guide · Metric catalog · Stage 12 implementation

Status and recommendation

Stage 12 is implemented as six independently sourced product families:

resources-flora is the canonical spelling; ressources-flora remains an input alias. fisheries and reefs select resources-fauna.

The normalized v3 contract now releases 14 products: four energy metrics, food production, fisheries, coral-reef threat, forest area, rare-earth mine production, and five human metrics. Each has its own artifact, unit, period, source class, and country or spatial release gate. The catalogue continues to record crops, livestock, land cover, biodiversity, critical minerals, legal policy, travel, reading, and mobility candidates with honest lifecycle status.

See the resource metric catalog for the complete 59-entry lifecycle view and the explicit distinction between standard, optional, and exploration-only passes.

Facility, deposit, biodiversity-occurrence, travel, and legal-policy layers can enrich those global baselines. They must not be used to make a sparse point inventory look globally complete.

The superseded feasibility work is not a v3 data source and is documented only in generation methods. The v3 files, parser, renderer, tests, Make rules, and generated names contain no legacy values or output path.

Product and artifact contract

Each category is a target family. It can produce several metric-specific maps; it is not one image with unrelated quantities painted on top of one another. A static PNG or PDF should display one metric and unit. A layered SVG may retain compatible supporting layers such as a country field and audited facility points, but it must not create a cross-metric resource score.

Released artifact names carry family, metric, reference period, and projection:

resources-energy-solar-capacity-2025-ck-44-22.svg.gz
resources-energy-wind-capacity-2025-star-x-34-44.svg.gz
resources-fauna-coral-reef-threat-2011-ck-44-22.svg.gz
resources-flora-forest-area-percent-2023-voronoi-44-22.916667.svg.gz
resources-mineral-rare-earth-mine-production-2025-ck-44-22.svg.gz
resources-human-population-over-60-2024-ck-44-22.svg.gz

Rolling-latest products state their actual accepted year range in the legend and preserve each country’s observation year. Prefer a common complete year when the source supports it.

Implemented target semantics are:

make generate-resources-energy
make generate-resources-food
make generate-resources-fauna
make generate-resources-flora
make generate-resources-mineral
make generate-resources-human
make generate-resources-stage12

generate-resources and the generation-profile selector resources expand to all six families. generate-resources-FAMILY-PROJECTION builds every released metric in that family, while generate-resources-PROJECTION builds all 14 released products for that projection. generate-resources-stage6b is a compatibility alias for the current graph.

Continue the existing deterministic compression rule: validate and export from a plain SVG intermediate, then store the checked SVG as GNU gzip level 9 without a filename or timestamp header.

Evidence classes and non-sparse gate

Geometry and evidence classes

Every normalized record must declare both its evidence class and geography:

Evidence class Geography Examples Rendering role
Reported statistic ISO 3166 / UN M49 area national production, attainment, patents Country choropleth; show missing countries distinctly
Modeled or remote-sensed field Raster or H3 cell crop allocation, land cover, tree density Filled global or biome-domain cells with valid-area coverage
Audited facility or field Point, polygon, or line reactor, mine, oil/gas field, refinery Supplemental marks above a non-sparse baseline
Legal or policy observation Jurisdiction and review date equality law, same-sex law, drug possession penalty Country layer with explicit dimensions, source date, and exceptions
Derived statistic Source geography plus formula patents per million, population under 30 Same geography as inputs; preserve formula and all input versions

Reported, modeled, remotely sensed, legal, and derived values remain separate in schema, layer identifiers, legends, and metadata. Facility presence does not establish production, a law on the books does not establish enforcement, and a modeled field is not an observation.

Release gate

A released Stage 12 metric is non-sparse only when it meets one of these gates:

If a source cannot supply the denominator needed for a gate, report country count, regional gaps, and covered population or production separately and classify the metric as supplemental. Never use the number of point features as evidence of global completeness.

An observed zero is a record with positive source coverage. A missing record is unknown, never zero. No default map should impute missing country values. Modeled estimates may fill a field only when they are explicitly identified as modeled and kept distinct from reports.

The strongest first-wave non-sparse options are:

Family Baseline Why it avoids point sparsity
Energy IRENA/PRIS/EIA country capacity, generation, and production Values are attached to complete country areas; facilities provide optional detail
Food FAOSTAT country series, SPAM crop grid, and GLW livestock grid Country totals cover the atlas while global modeled grids distribute selected production
Flora Copernicus or MODIS global land-cover fields plus FRA country statistics Remote sensing supplies continuous spatial coverage and FRA supplies a separate national evidence class
Mineral Current USGS/BGS country production and reserves Country output coverage is measurable against the reported world total; deposits are optional context
Human WPP age structure, WBL legal dimensions, and coverage-gated UIS/WIPO/UNDP indicators Broad country/population denominators are explicit and missing countries remain visible

The sources below are candidates for a pinned snapshot, not blanket approval to redistribute every upstream file. Before promotion, record the exact release, retrieval date, URL, digest, license, attribution, API or form terms, and whether raw or only derived data may be checked in.

resources-energy

Requested concept Primary non-sparse layer Spatial enrichment Boundary
Solar power IRENA Renewable Capacity Statistics 2026 2025 capacity by country; IRENA tools for generation Global Integrated Power Tracker facilities Capacity, generation, and proposed projects are separate measures
Wind power IRENA 2025 capacity and separately sourced generation by country Global Integrated Power Tracker facilities Separate onshore/offshore where the source permits
Nuclear IAEA PRIS operating capacity and generation Reactor locations and status from PRIS Do not count under-construction or shutdown units as operating
Oil wells EIA international country production Global Oil and Gas Extraction Tracker fields and extraction areas A globally complete open well-level inventory was not identified; label fields as fields, not wells
Petroleum refining EIA country refinery capacity and throughput Audited refinery tracker if its release and terms pass review Capacity is not throughput and neither is extraction
Petroleum processing Define a specific process before ingestion Facility data only after scope and units are fixed “Processing” is too broad for a comparable scalar
Natural-gas refining Rename to gas processing and LNG Global Gas Infrastructure Tracker terminals and pipelines LNG terminals and pipelines do not enumerate all gas-processing plants
Natural-gas fracking Country unconventional-gas production where explicitly reported GOGET assets with a sourced extraction-method field No defensible, comprehensive global fracked-well layer was identified; keep supplemental

The non-sparse energy backbone should therefore be country capacity, generation, production, refinery capacity, and throughput. Facility and field trackers improve geography, but their inclusion thresholds and lifecycle statuses mean that absence is not evidence that a country has no activity.

resources-food

Measure Recommended source Coverage role Boundary
Crops and other primary food production FAOSTAT annual country production Non-sparse country baseline Keep tonnes, harvested area, and yield separate
Spatial crop production IFPRI SPAM 2020 v2 Global 10 km allocation for 46 crops Modeled spatial allocation for 2020, not a current farm census
Livestock FAOSTAT country totals plus Gridded Livestock of the World Country baseline plus aligned 2020 spatial density Animal counts, biomass, meat, milk, and eggs are different measures
Fish FAOSTAT capture fisheries and aquaculture Broad annual country coverage Keep wild capture, aquaculture, aquatic animals, and plants separate
Edible nutrition FAOSTAT Food Balances Dietary energy and protein supply by country Food supply is not production, consumption, nutrition outcome, or food security

Use separate metric maps for crop production, livestock density, capture fisheries, aquaculture, dietary-energy supply, and protein supply. A single “food” tonnage is invalid because water content and edible fraction make unlike commodities incomparable. If an aggregate is needed later, convert with a cited food-composition method and publish the formula and uncertainty.

resources-flora

Requested concept Recommended source Coverage role Boundary
Plant life and land-cover class Copernicus Global Land Cover and Forest Monitoring Continuous 10 m global field, initially 2020 Land cover is not species diversity
Long annual land-cover series MODIS MCD12Q1 Global annual 500 m classification Coarser and classification-dependent; do not silently splice with 10 m classes
Forest extent, type, and change FAO Global Forest Resources Assessment 2025 236 countries and areas with forest variables National reporting and remote sensing are different evidence classes
Forest-cover density Copernicus tree-cover-density products Continuous values over the product’s declared domain Current pan-tropical products are not a global all-biome field
Savanna and tropical rainforest Land-cover class intersected with a pinned ecological-zone layer Non-sparse biome-domain field Publish the exact class crosswalk; neither biome is a simple tree-percentage threshold
Plant biodiversity GBIF vascular-plant occurrences plus survey-effort metadata Supplemental research layer Raw occurrence richness is dominated by sampling effort and is not a biodiversity census

The default flora products should be land-cover fractions by H3 cell, forest area/change by country, and explicitly defined forest, savanna, and tropical rainforest masks. Plant biodiversity should remain supplemental until the pipeline can model observation effort, taxonomic coverage, duplicates, coordinate quality, and survey design. At minimum, render a separate sampling effort/coverage layer beside any derived richness estimate.

resources-mineral

The retired dataset must not supply Stage 12 mineral values. The primary current sources should be:

Use USGS as the release-year backbone and BGS for cross-checks, trends, and commodity definitions. Store disagreements rather than silently selecting the larger value. IAEA UDEPO can add uranium-deposit context, but its selective coverage and update metadata make it a supplemental deposit layer, not the non-sparse uranium baseline.

The initial critical-mineral catalogue should include:

“Critical” is a jurisdiction- and year-specific policy designation. Store any US, EU, IEA, or other criticality-list membership as dated metadata rather than excluding a commodity or inventing one timeless worldwide criticality score.

For every commodity, preserve distinct measures for mine production, refined production, processing capacity, reserves, resources, and trade. Do not add them or show them on one numeric scale. A country choropleth of current mine production or reserves is the non-sparse default. Mine and deposit points are supplemental because there is no single current, open, globally comprehensive facility database with consistent status and capacity fields.

Normalize units only through a commodity-specific rule. Record source units, conversion factors, contained-material versus gross-ore basis, fiscal versus calendar year, source estimates, withheld values, and whether “rare earths” are reported as rare-earth-oxide equivalent. Missing and withheld values stay distinct from zero.

resources-human

Requested measure Definition and source Non-sparse treatment
Literacy Adult literacy, age 15+, from the UNESCO UIS Data Browser and its 2026 release Latest accepted observation within a declared year window; expose each country’s year and missingness
High school or equivalent Population age 25+ completing ISCED 3 or higher, UIS Do not use enrollment or expected schooling as attainment
College Population age 25+ completing ISCED 6 or higher, UIS Keep short-cycle ISCED 5 separate unless the metric is explicitly “tertiary”
Advanced degree Population age 25+ completing ISCED 7 or 8, UIS Preserve sex disaggregation where coverage passes the gate
Patents per capita Resident-origin patent applications from WIPO IP Statistics, divided by matched population Use a three-year mean per million residents; applications are not grants or patent quality
Population under 30 Ages 0–29 divided by all ages from UN World Population Prospects 2024 Broad, same-model country coverage; mark projected rather than estimated years
Population over 60 Ages 60+ divided by all ages from WPP 2024 Use 60+ literally; do not substitute retirement age
Gender equality World Bank Women, Business and the Law legal/support/enforcement dimensions and UNDP Gender Inequality Index outcomes Render law and outcome measures separately; never call either complete social equality
Social mobility World Bank GDIM education and income mobility Education has broad population coverage; cohort estimates are not a current-year behavior metric

UIS attainment definitions must be fixed in the metric catalogue before data preparation. “College” is ambiguous across national systems; ISCED levels make the cross-country rule explicit. Literacy and attainment should use a rolling latest-observation window only when a common year is too sparse, and every map must include a recency layer or hatch.

The requested quality-of-life candidates need these substitutions or limits:

Request Decision Defensible option
Percentage taking one international trip in the current year Do not implement under that label UN Tourism / World Bank outbound departures per 100 residents for the latest complete year, labelled departures, because repeat trips mean it is not a percentage of unique people
Median books read in a calendar year Omit from the default pass No harmonized, current, worldwide median dataset was identified; use UIS reading proficiency or a separately reviewed library-use statistic, clearly labelled as a different concept
Sexual freedom Do not create one score Use dated legal dimensions from ILGA World Laws on Us, such as consensual same-sex criminalization, recognition, expression, and legal gender recognition; preserve exceptions and enforcement caveats
Drug decriminalization Do not infer a scalar from a law repository Build a reviewed jurisdiction-by-dimension table from the UNODC legal database and named specialist sources: possession, use, cultivation, substance, quantity, sanction, and review date
Social mobility Include with time/cohort warning GDIM education mobility is the broadest baseline; income mobility is a lower-coverage supplemental layer

Better broad-coverage quality-of-life additions are:

Do not average these into a cartofreako quality-of-life index. If a published source composite such as HDI or GII is rendered, preserve its source name, version, component definitions, and source methodology.

Normalized data contract

The implemented country baseline uses a long-form metric catalogue and one normalized country-value store:

assets.static/resources/resources-profile.json
assets.static/resources/resources-values.json
assets.static/resources/countries-110m.geojson
assets.static/resources/coral-reefs-025deg.geojson
assets.static/resources/SHA256SUMS

The profile contains the source register, complete six-family metric catalogue, palettes, default selection, artifact tags, and coverage. Every normalized value contains:

{
  "family": "resources-human",
  "metric": "population-under-30",
  "iso3": "USA",
  "year": 2024,
  "value": 38.2,
  "state": "derived"
}

Catalogue metadata includes title, definition notes, unit, evidence class, scale, snapshot/reference period, source release/URL/retrieval time/digest or ingestion status, license boundary, lifecycle status, and coverage.

Implemented geography rules are:

Future grid and facility stores remain separate extensions. H3 resolution 3 is a sensible default display grid for global raster fields, but preparation must area-weight source pixels and retain valid-area fractions. High-resolution source rasters remain source inputs; checking one SVG polygon per 10 m pixel into the repository is neither necessary nor tractable.

Acquisition and reproducibility

Normal generation remains offline. Acquisition is an explicit maintainer operation:

make refresh-resources-data     # explicit network plus deterministic preparation
make check                      # schemas, hashes, joins, coverage, renderer tests
git diff -- assets.static/resources

The implemented fetcher writes upstream files to an automatically removed temporary directory and never runs as a dependency of make, make all, or a generation-profile target. The deterministic preparer can also be invoked against audited local inputs. A maintainer reviews license and source changes, compares coverage and totals with the previous snapshot, and accepts the checked v3 files and checksums only after review.

APIs, forms, credentials, and manual downloads need source-specific adapters. The repository should not bypass a download form, invent an API, or treat interactive access as permission to redistribute a full raw dataset.

Implementation sequence and status

1. V3 and Stage 12 cutover — complete

2. Broaden each family — in progress

3. Add spatial enrichment — in progress

4. Add policy and quality-of-life dimensions

5. Promote additional defaults

Release checks

Every Stage 12 snapshot and metric should require:

Deferred or rejected shortcuts

The next confirmation point is the end of step 3: keep the 14 current Cahill–Keyes fixtures passing, add any new spatial product only with a pinned source and domain gate, and review the generated contact sheet before facility, biodiversity, and policy adapters multiply further.