30 Day Map Challenge — Day 10: Prompting only

cartography
R
30DayMapChallenge
water
Lake Superior with the water taken out, 51 years to the day after the Edmund Fitzgerald went down. Every line of code came from prompts.
Author

Sean Thimons

Published

November 10, 2026

Lake Superior, drained

The Edmund Fitzgerald sank in Lake Superior on November 10, 1975, about 17 miles from Whitefish Point, with all 29 crew. Day 10 falls on the anniversary, so this map takes the water out of the lake and leaves the ships where they lie.

The floor is NOAA’s bathymetry of the whole lake, shown as 3D terrain at 30× vertical exaggeration. The blue columns are the missing water. Each 6 km hexagon gets one column, as tall as the lake was deep at its center. Zoomed out, the lake reads as a block of water. Zoom in and the columns fade away, leaving 51 named wrecks on the bottom. The button flies to the Fitzgerald, in a trough about 150 m (500 ft) down on the Canadian side of the shipping lane.

Prompting only

The theme is Prompting only, so I wrote no code for this map. I gave prompts and Claude (an AI model) wrote everything: the data acquisition, the terrain tiles, the widget and this post’s chunks. The prompts are below, word for word, with what came back and what went wrong along the way. The ideas, the topic and the call to combine the floor and the water columns were mine. The plumbing was not.

Day 10 prompt log

Verbatim prompts from Sean, in order. Claude wrote every line of code; Sean made no hand edits. Assistant replies are summarized, not quoted.

  1. Prompt: “Let’s work on Day 10 of the mapping challenge. New branch for it.” Reply: Found an existing feat/30daymap-day10-prompting-only branch with mapgl/Mapbox setup; fast-forwarded it to origin/master. Asked what “prompting only” should mean and which topic. Sean chose “prompt log”; topic open.
  2. Prompt: “Ehhhhhhhh What if we relax the EPA side of things.” Reply: Offered non-EPA ideas: CNEOS fireballs, found meteorites, Great Lakes shipwrecks over bathymetry, eclipse paths, submarine cables.
  3. Prompt: (quoting the shipwrecks idea) “Perfect. Just in time for the Edmund Fitzgerald.” Reply: Scoped to Lake Superior (Fitzgerald sank there 1975-11-10). Checked sources: NCEI Lake Superior bathymetry (GeoTIFF); NOAA ENC wreck points (33, mostly unnamed, retired AWOIS); Wikidata wrecks in a Superior bounding box (~57 named, CC0).
  4. Prompt: “A and B? Combo?” Reply: Proposed terrain floor plus translucent hex water columns that fade on zoom-in. Wrote a plan and sent it to a code-review agent, which caught three blockers: mapgl drops tiles/encoding on raster-dem sources (fixed with an onRender JavaScript hook), extrusion heights are not scaled by terrain exaggeration (height = depth × 30), and a plain prompt-log.md would be listed as a blog post (renamed _prompt-log.md, included). Errors and corrections: AWS terrarium tiles turned out flat over the lake (no bathymetry), so tiles are built from NCEI. subset() on a terra polygon failed (“‘subset’ must be logical”); rewritten as a logical index. A depth rule for filtering wrecks dropped real nearshore wrecks (America, Lafayette) and kept museum ships in harbors; replaced with six explicit exclusions, each with a reason.
  5. Prompt: “Tool loaded.” Reply: (A preview tool had been loaded; it cannot load tiled terrain, so the post itself is rendered for review.)
  6. Prompt: “Eh? What’s the difference between day 16 vs the approach for this day for rendering?” Reply: Explained that both are mapgl MapLibre widgets built the same way, but Day 10 also loads 176 terrain tiles from files next to the post through a JavaScript hook, so it has to be viewed from a served page.
  7. Prompt: “Keep the terrain.” Reply: Kept the tiled 3D floor and wrote the Day 10 test. Errors and corrections: the first test run failed: NOAA’s chart service had answered with a “Could not find service” error inside an HTTP 200 reply, and the pipeline had saved it as an empty wreck table. Acquisition now stops when either service returns no records, and the retried request worked. mapgl warned that extrusions can render badly on its default globe projection; switched to Mercator, as Day 16 does.
  8. Prompt: “Why not render it and then send screenshots back to me?” Reply: Served the rendered post locally, opened it in a browser and sent screenshots back. Errors and corrections: the screenshots showed two bugs. The “Fly to” button never responded, because the panel is added after the JavaScript hook runs, so the hook found no button to attach to; it now listens for clicks on the whole map. MapLibre’s control CSS also squeezed the button to 29 px wide. The opening view was moved north and closer, because the lake filled only a small strip of the frame.
  9. Prompt: “Go ahead for both.” Reply: Coloured the floor by depth with MapLibre’s built-in color-relief layer, reading the same terrain tiles, so the depth colour sits on the floor rather than on the columns. Made the columns a single dark blue at 40% opacity so the floor shows through them, set a dark sky so the horizon is no longer white, and lowered and moved the opening camera so the whole lake fills the frame. The values were tuned live in the browser from screenshots, then written into the code.
  10. Prompt: “Looks good! Save the static PNG, then commit.” (and “Yes.” to also committing the Mapbox setup notes) Reply: Cropped a browser screenshot of the opening view to the map, saved it as the post’s listing image, and committed the post with its test and setup notes.
  11. Prompt: “Open PR against master” Reply: Opened the pull request.
  12. Prompt: “Swap the page to live, and use the gitleaks action to make sure nothing leaked into the transcript.” Reply: Took the post out of draft and scanned the post, this prompt log and the session transcript for secrets with gitleaks.

Method

The map is a mapgl MapLibre widget. mapgl passes only a TileJSON URL to MapLibre for elevation sources, so a short htmlwidgets::onRender() hook adds the terrain source, turns on 3D terrain, colours the floor by depth with MapLibre’s color-relief layer, shades it and darkens the sky. The terrain is 176 PNG tiles in Terrarium encoding, zoom 4 to 9, built in R with terra. MapLibre stretches zoom 9 tiles when you zoom past it.

The water columns are a hexagon grid in Great Lakes Albers (EPSG:3175), clipped to the lake. MapLibre sets an extrusion’s base on the terrain but does not exaggerate its height, so each column is drawn at its depth × 30 to reach the lake surface. The depth comes from the hexagon’s center, because that’s where MapLibre reads the terrain under an extrusion.

The key design choice is the fade. Water columns and wrecks can’t be read at the same time, so the columns are visible only at lake scale and are gone by zoom 8.4, where individual wrecks start to separate. The complete R pipeline covers acquisition, tiles, tables and the widget.

Data & provenance

  • NOAA NCEI Bathymetry of Lake Superior, 3 arc-second grid, depths relative to the Low Water Datum (183.2 m, IGLD 1985). Public domain.
  • Wikidata shipwrecks with coordinates inside the lake’s bounding box, from a SPARQL query in the pipeline. 57 hits, 6 left out: two museum ships, a replica, a ship that survived, a dredge in Torch Lake, and a scow in an inland lake. The wreck table keeps them with the reason. CC0.
  • NOAA ENC Direct general-scale wreck points, used only as a check: the chart’s “dangerous wreck” off Whitefish Point lies within 200 m of Wikidata’s Fitzgerald. Public domain.
  • Basemap © CARTO and OpenStreetMap contributors.

Sources were retrieved November 19–20, 2026. Source fingerprints identify the cached files and committed tables, and the render stops if a committed table has changed. Rendering makes no data requests; only basemap tiles load live. Coordinates are WGS84.

Caveats

  • The 90 m grid can’t resolve the shoreline. Wrecks on reefs and beaches can fall on a dry grid cell, and their tooltips say “nearshore” rather than giving a depth.
  • Depths are at Wikidata’s coordinate, not measured at the wreck. The grid reads 150 m at the Fitzgerald’s point; the wreck is usually given as 530 ft (162 m).
  • Henry Chisholm, Cumberland and Puritan share one coordinate in Wikidata. The first two did wreck on the same reef off Isle Royale; the third may be a copied position.
  • Wikidata lists notable wrecks, not all of them. Lake Superior has hundreds more.
  • The 30× exaggeration also applies to the land, which makes the shore look steep.

Alt text

A dark 3D map of Lake Superior seen at an angle from the south. The lake floor is shaded and coloured by depth, pale blue in the shallows and navy in the deep basin east of the Keweenaw Peninsula, with ridges and troughs showing through a thin layer of translucent dark blue hexagon columns whose tops sit level at the old lake surface. Orange dots mark 51 named shipwrecks, clustered off Whitefish Point in the east, around Isle Royale in the northwest, and near Duluth and the Apostle Islands in the west. A label marks the Edmund Fitzgerald north-west of Whitefish Point. A panel at the top left holds the title, a short description and a button that flies to the wreck.