\n

ai design ai-generated dun deepseek-v4.1-flash

Living Kerry is a live 3D miniature of County Kerry that runs on real data: Irish Rail trains on the Tralee to Mallow corridor, aircraft over Kerry Airport, ships in Tralee Bay, the Fenit Pier tide gauge, 24 OPW river stations, Met Éireann weather and warnings, and a Gemini layer that writes short briefings and answers questions about what is on the map. It runs at kerry.horgan.net, and the code is seanhorgan/living-kerry. County Dublin runs the same machine at dublin.horgan.net.

The post that started it

Philip Anderson posted on LinkedIn in early December about Living Boston: a miniature of Boston driven by the real city’s feeds, built during his parental leave, with more than 750,000 buildings, roughly two million trees placed from LiDAR canopy data, and about 140 open data sources. Every item on it shows its source, how old the data is, and whether it is observed, estimated or simulated. The code is MIT licensed on GitHub.

I read it and immediately wanted Tralee. The thing that got me was not the 3D, it was the premise: public data rendered as the place you live rather than as a dashboard. I grew up there, I know my way around town and the best taxi to grab at the train station (Tralee Radio Taxis!). A county I can hold in my head is a good test of whether the idea travels outside Boston.

Moving it across the Atlantic

I forked it to seanhorgan/living-kerry, renamed the app Living Kerry, and worked through it with my agent fleet. The MIT license and the upstream authorship stay intact, which matters: most of the architecture here is Philip’s.

The geometry was the real work. Upstream is baked for Greater Boston. I rebuilt the pipeline for a County Kerry bounding box (51.57 to 52.58 north, 10.53 to 9.02 west), running Overture Maps buildings through DuckDB, OpenStreetMap through pyosmium, and AWS Terrarium elevation into a 10 metre terrain grid, then encoding it into 1 km near tiles and 4 km far tiles. The first pass only covered the northern half of the county at 2,503 tiles. The full county is 8,292 tiles, a 168 MB archive, and 32 named areas from Kenmare and Valentia up to Ballybunion and the Blaskets.

The feeds took the same treatment. MBTA and Boston 311 became Irish Rail, Transport for Ireland, Met Éireann Valentia, the OPW hydrometric network, the Marine Institute buoys, Kerry County Council planning, and then the local ones I actually wanted: Kerry GAA fixtures and results, Austin Stacks club news, race cards from the Kingdom Greyhound Stadium, and the Killarney Advertiser alongside Tralee Today and Radio Kerry. There are 61 sources in the registry and 44 of them run with no API key at all. The other 16 sit dormant until someone adds a key.

Deploying it on Google Cloud

It runs on Cloud Run in europe-west1, the closest EU region to Ireland, at 1 vCPU and 1 GiB with scale to zero. The tile archive lives in a Cloud Storage bucket mounted read-only rather than baked into the image, so a re-bake is a file copy and not a rebuild. Cloud Build handles both the image and the tile bake, because the bake needs more memory than my VM has.

The custom domain took a detour. Cloud Run answers 404 to any request carrying a foreign Host header, so a CNAME cannot work, and a proxied Cloudflare record preserves that header. The fix is a small Cloudflare Worker on horgan.net that re-originates the request against the run.app origin. kerry.horgan.net and tralee.horgan.net both serve the app, and the address bar keeps the domain.

The bill is shaped by one thing I did not expect. A page load moves about 2.6 MB in 20 requests, which is nothing. But /api/stream is a single request that never completes, so a browser tab left open keeps an instance and its CPU seconds billed for as long as the tab exists. That is about 8.6 cents per viewer hour, or roughly 64 dollars a month for one tab left open. Capping max-instances at 2 puts the whole compute ceiling near 140 dollars a month and the client now drops the stream while the tab is hidden.

The Gemini layer

Two features use Gemini on Vertex: a town briefing every 30 minutes that reads the current telemetry and writes a few observations into the live feed, and Ask Kerry, which answers questions like “weather and Fenit tide right now” from the same store, with optional Google Search grounding and buttons that fly the camera to whatever it mentions.

This was broken when I picked it up. Upstream pinned gemini-2.5-flash, which Vertex retired on 20 October 2026, so briefings had never once run and app questions returned a 500. The briefing loop logged the error and carried on, which is why nobody noticed. It now takes a model list and skips a retired or unavailable model instead of failing, and any Gemini failure degrades to an answer built from local telemetry. One more quirk worth writing down: every Gemini 3.x model 404s in europe-west1 for this project and works on the global endpoint, which gives up the EU data residency guarantee. Fine for public weather and trains, not a pattern I would copy for anything private.

Costs are small but not zero. A briefing is about 1,700 input and 200 output tokens, so two instances at a 30 minute cadence come to roughly 6 dollars a month, and a question costs about a third of a cent. The guardrails matter more than the price: 100 questions per visitor per day, two concurrent model calls per instance, spend caps of 15 dollars on Cloud Run and 10 on Vertex. If the AI bill runs away, Ask Kerry stops answering for the rest of the month and the rest of the site keeps working.

The Living Ireland idea

The obvious next question was whether this should be the whole country. My answer is yes eventually, but as a separate repo and site, living-ireland, covering the entire island including Northern Ireland, with kerry.horgan.net left exactly as it is.

We sized it before deciding anything. Kerry is 4,746 square kilometres and 8,292 tiles. The island is 84,421 square kilometres, which works out at about 147,500 tiles and a 3.15 GB archive. The bake is a one-off of about 7 dollars on a 32 vCPU builder. Running cost barely moves, from roughly 3.39 dollars a month to 6.12 at the same traffic, and the difference is almost all Gemini reading a bigger snapshot, not infrastructure. On the money, it is a cheap experiment.

The challenges are not money:

  • A 3.15 GB archive breaks GitHub’s 2 GB per-file release limit, which is how the tiles are distributed for fresh clones today. Either split the release into parts or make Cloud Storage the only path.
  • meta.json grows from 250 KB to about 4.5 MB, and the client fetches it on every load. It needs sharding by region or a compact binary index before the national map is usable, which is a few days of work.
  • Level of detail. One kilometre tiles across a 300 by 450 km island means the zoomed out view needs coarse geometry the current single resolution bake does not produce, or the opening frame looks empty.
  • The feeds are the other half of the project. Irish Rail, TFI, Met Éireann, the OPW and the Marine Institute are already national, but local news, sport, planning and venues are per council. That is 31 councils and a lot of adapters, which is weeks rather than days, and a few of them want keys.

Republic only would save about 17 percent of the tiles and avoid the OSNI and Translink licensing question entirely. I would rather do the island properly or not at all.

A second county: Dublin

Dublin was the cheaper test of the machinery, and it is live at dublin.horgan.net. The code is seanhorgan/living-dublin, a sibling repo rather than a branch, running as a second Cloud Run service in the same project with its own tile bucket and its own Worker on horgan.net.

The bake covers 53.17 to 53.63 north and 6.58 to 5.95 west: 2,279 tiles, 31 named areas, a 75 MB archive. That is smaller than Kerry’s 168 MB even though it draws 278,688 Overture buildings and 646,468 OpenStreetMap footprints, because the county is roughly half the width and the frame is dense rather than long. The texture changed with it. Kerry reads as a coast with towns on it; Dublin reads as a city with a bay beside it, so the quays, the docklands, the terraces from Clontarf out to Sutton and the mountains to the south carry the view.

The feeds are where a county stops being a bounding box. Kerry GAA has one fixtures page. Dublin GAA publishes inter-county fixtures across four codes, football, hurling, ladies football and camogie, on a different platform with no public API, so the parser reads the flattened page text instead of markup classes. The Kingdom track became Shelbourne Park, code SPK. Austin Stacks became three Dublin club feeds, which turned out to be sites updated every few weeks, so they carry club notes rather than a live ticker. Tralee Today and Radio Kerry became RTÉ’s Dublin desk, The Liberty and Extra.ie. Kerry County Council planning became all four Dublin authorities from the same national dataset, with applicant names and home addresses stripped on ingest. The tide gauge moved to Dublin Port and is read in both datums against the Marine Institute’s predictions, which is the one place Dublin was easier than Kerry.

Two things did not survive the move. The Shannon ferry timetable was Kerry-specific, and an invented sailing schedule is worse than no sailing schedule, so it is gone and live AIS carries Dublin Port instead. And the GAA calendar is genuinely quiet for eight weeks over December and January, so upcoming fixtures get a two-month horizon or the sports layer looks broken in the one month anyone would look at it.

One consequence of sharing the project is worth naming. The spend caps are per project and per service, so the 15 dollar Cloud Run cap now covers both sites. Two counties fit inside it comfortably at this traffic, but the second one does not get an allowance of its own.

Credits

Philip Anderson built Living Boston and released it under MIT, which is the only reason any of this exists. Data comes from Overture Maps, OpenStreetMap contributors, AWS Terrarium, Transport for Ireland, Iarnród Éireann, Met Éireann, the OPW, the Marine Institute, the EPA, Kerry County Council, the GAA and others, each under its own license. The map is not affiliated with any of them and it is not for navigation, maritime safety or travel decisions.