The story
Part 1 · The neighbourhoods
A city with many birds
In GBIF, 382 bird species have been recorded inside Curitiba. The 2023 municipal inventory, which pools two centuries of literature, collections and observations, reaches 419. By neighbourhood the count runs from 256 species (Alto Boqueirão) to 2 (Lindóia).
Part 1 · The neighbourhoods
But who counts is who looks
The neighbourhoods with the most species are, almost always, those with the most records: species and the logarithm of records correlate at 0.87. 96.7% of the records come from eBird, species checklists submitted by birdwatchers.
Part 2 · The hexagon grid
A 2 km disc at every point
To avoid depending on how neighbourhoods are drawn, the city was covered with 617 hexagons (H3 grid, resolution 8, about 0.74 km² each). For each centre we counted species within a 2 km disc. The median is 107 species; the maximum, 257. Neighbouring discs overlap: the map is smooth, but cells are not independent samples.
Part 2 · The hexagon grid
The effort behind each number
In the same disc, records run from zero to 24,251. On its own, effort (log of records) explains 74% of the variation in species across cells (R² = 0.74).
Part 2 · The hexagon grid
What is left once effort is taken out
Each cell was compared with the number of species its effort would lead you to expect. Red: more species than expected (places that look rich even with few people looking); blue: fewer (much effort and few species, like the urban centre). The cut-off is one standard deviation (34.7 species). Red cells fall mostly in Alto Boqueirão (14), Campo de Santana (13), Augusta (10) and Boqueirão (7); blue ones in Botiatuvinha (11), Xaxim (10), Boqueirão (10) and Uberaba (9) (number of cells in brackets).
Part 2 · The hexagon grid
Where nobody looked
128 of the 617 cells have fewer than 100 records within 2 km, and 8 have none. They cluster mostly in the south and south-west: Cidade Industrial de Curitiba (33), Campo de Santana (19), Umbará (18), Tatuquara (16) and Sítio Cercado (10). Campo de Santana appears on both lists: few people looking and, even so, more species than that effort would lead you to expect. Few records do not mean few birds: they mean we do not know. In US cities, a study with community-science data showed that historically segregated neighbourhoods remain the least sampled (Ellis-Soto et al., 2023); here we did not measure income or neighbourhood history, only where records are.
Part 3 · What is missing
What GBIF does not have
Matching names through GBIF, 331 inventory species appear in the city's records and 79 do not. The other way round, 51 GBIF species are not in the inventory: 10 are escapes or vagrants the inventory itself leaves out, 10 look like the same bird under another name and 31 still need checking. WikiAves, which the inventory calls "the most complete portal on Brazilian birds" (325 species in Curitiba), is not in GBIF. And iNaturalist hides the position of sensitive species in a 0.2° box (about 22 km): those records were left out, and threatened birds fade a little from the map.
Part 4 · The landscape
The landscape around
According to MapBiomas (Collection 11), 76.7% of Curitiba is urban area in 2025 (64.4% in 1985) and 12.6% is forest. Mean Sentinel-2 NDVI in 2025 is 0.42 and above-ground biomass (ESA CCI, 2022) averages 128 Mg/ha. Relating richness and landscape cell by cell is the next step; the figures here are context, not an explanation. On the map alongside, switch the years from 1985 to 2025 and change the opacity to watch the city grow over the satellite image.
How we did it, and how to redo it with Claude and UmaTerra
1. The question and the plan
We started from a simple question (where does Curitiba have birds, and where did nobody look?) and a plan written before any code: unit of analysis, radius, sources and what not to do. The plan changed twice on the way, and each change was logged in a state file in the working folder so the work can be resumed in another session.
2. References before data
Every context figure on this page has a source saved to disk, with its access date and a verbatim excerpt that a script checks against the saved text (32 claims verified, 2 marked partial because they come from the press). The 14 papers cited had their DOI checked on Crossref. An AI summary (NotebookLM) of TV reports was read and checked against the reports themselves: several of its claims were not in the text and were dropped.
3. A probe before the pipeline
Before counting the whole city we queried by hand a single 2 km disc at Barigui Park. Three findings changed the method: eBird (93% of records) gives no coordinate uncertainty, so filtering by uncertainty would delete all of eBird; iNaturalist obscures sensitive species in a 0.2° box, far larger than the disc; and GBIF's search API blocks rapid successive queries.
4. One download with a DOI, not 600 queries
So we asked GBIF for a single download (birds, Curitiba's polygon plus 2.5 km), which comes with a DOI to cite: 10.15468/dl.z6xu39. Counts per cell and neighbourhood are made locally from that file.
5. Local counts
H3 grid at resolution 8 over the IBGE boundary; for each centre, a 2 km disc. Records with a stated uncertainty above 1 km are dropped (707 records, almost all iNaturalist) and those without one are kept (eBird). Neighbourhoods from IBGE's 2022 Census grid.
6. The baseline
The list in Curitiba's 2023 fauna inventory was extracted from the official PDF and matched to GBIF's taxonomy by species key. Name differences (Brazilian checklist vs GBIF) were not settled from memory: they went into a spreadsheet for human review.
7. Landscape through Earth Engine
MapBiomas Collection 11, Sentinel-2 NDVI, ESA CCI biomass and landscape metrics come from the same functions Naturametrics uses, called on the city boundary, rewriting nothing.
8. The cards
Threat category only from the IUCN Red List as published in GBIF. Pictures only under Creative Commons licences, with author, licence and link for each; pictures were chosen by looking at them (no dead, caged or unrecognisable birds). It includes every bird recorded in the city that is threatened or near threatened (for those with no usable open picture taken in the city we used the nearest open picture, searching 50, 100 and 200 km and then the state of Paraná, and the card says where and how far away it was taken; if there is none, a placeholder and a link to the rights-reserved pictures on GBIF; the map point stays on the Curitiba record closest to the centre of the bird's records), some of the most photographed birds and, for each neighbourhood, one bird photographed there, without repeating species where possible (in the four neighbourhoods with no usable picture, the species most recorded there); domestic birds (duck, goose, pigeon) are left out. Each card shows the land-use map around the picture's point, with 0.5, 1 and 2 km rings, and a diagram of the changes from 1985 to 2025 computed from MapBiomas. What each card says comes from the records, not from texts about the species.
9. The page
A Python script gathers everything into one JSON; an Astro component draws the map as SVG, with no mapping library, and switches layers as you scroll. Files above 2 MB stay out of git, with a manifest of size and sha256.
10. Where Claude came in
The work was done in one conversation with Claude Code: the main session wrote the plan, the scripts and this page; two parallel agents (Sonnet model) downloaded the Earth Engine layers and built the cards. Source decisions were the author's: only GBIF for birds, only IUCN for threat, IBGE neighbourhoods, the inventory used for research and education. When Claude stated something it had not checked, the sentence was checked or removed.
To redo it for another city
- Swap the municipality's IBGE code and rebuild the polygon with the 2.5 km edge.
- Run the probe at one point first and look at what the API returns.
- Request a download with a DOI on your GBIF account; count locally.
- Check by hand the names that do not match and the pictures that go on the cards.
- Write down the source and licence decisions, and cite everything: data, pictures and maps.
- The Earth Engine account used here is registered as non-commercial; GBIF is free with an account.
The scripts live in a UmaTerra working folder that is not public yet; the order is: references, probe, download, counts, names, Earth Engine, cards, page. Anyone who wants to redo it can ask UmaTerra for the scripts.