Repository navigation
Conversation
Extracted from sear-labs/tarrant-landvalue-gis and made generic: a project bins its data (hexbin), describes the map (spec.MapSpec: metrics, views, card fields, split, inspectable area layers, outlines with rankings, roads/water/places) and writes the pages (page.write_3d: deck.gl 9.4.0 over MapLibre 5.24.0; page.write_2d: zoomable SVG). All wording and number formats come from the spec; a test fails if a project's name reaches the templates. examples/synthetic_map.py builds a complete map from made-up data and is the end-to-end test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The lab's interactive hexagon maps, extracted from
sear-labs/tarrant-landvalue-gis(where they were built and checked in a browser) and made reusable.What it does
A project bins its data into equal-area hexagons, describes the map as a
MapSpec, and gets two self-contained HTML pages:write_3d): deck.gl 9.4.0 columns over a MapLibre 5.24.0 basemap (CARTO, no token).write_2d): zoomable SVG (wheel, drag, pinch), with light and dark themes.Reusable, not Tarrant-shaped
fmt).examples/synthetic_map.pybuilds a complete map from made-up data, with no downloads, and is the end-to-end test.Checks
For Dr. Jones
tarrant-landvalue-gis's CI can't install a private package from another private repo without a token. So tarrant installs it as an optional extra, used only by its map script, and tarrant's tests don't need it. Making this repo public, since it is generic code with no data, would remove that wrinkle. That's your call.hexmap-webfollows the standard's subject-method form. Rename now if it's going to be renamed; it gets costlier after the first release tag.🤖 Generated with Claude Code