Skip to content

feat(print): read incident_district from the Martin tileserver - #65

Merged
yorickdewid merged 1 commit into
mainfrom
feat/dynamic-incident-district-source
Aug 6, 2026
Merged

feat(print): read incident_district from the Martin tileserver#65
yorickdewid merged 1 commit into
mainfrom
feat/dynamic-incident-district-source

Conversation

@yorickdewid

Copy link
Copy Markdown
Contributor

Switches the incidents chapter from the static Spaces tileset to the dynamic incident_district source on tiles.fundermaps.com, added via its TileJSON endpoint — the same pattern ConstructionYearChapter.vue already uses for buildings.

Backed by Laixer/FunderMapsWorker#73, which moves incident_district off the nightly tippecanoe build. That one tileset cost 26.5 minutes a night and 155,335 Spaces objects to render 1,016 polygons.

No config change

config/layers/incident-district.json is untouched — the MVT layer name matches the retired tileset name.

Follow-up

VITE_FUNDERMAPS_TILES_URL now has no remaining reference in this repo. It's deliberately left in the report-prod env for now so a rollback is a one-line revert; it can be dropped once the cutover has held.

Verification

vue-tsc --noEmit and eslint both clean. The rendered chapter should be spot-checked in a generated PDF after deploy — Gotenberg fetches these tiles server-side.

🤖 Generated with Claude Code

Switches the incidents chapter from the static Spaces tileset to the
dynamic incident_district source on tiles.fundermaps.com, added via its
TileJSON endpoint — same pattern ConstructionYearChapter already uses for
'buildings'. Backed by FunderMapsWorker sql/model/create_incident_tiles.sql.

The layer config is unchanged: the MVT layer name matches the old tileset.

VITE_FUNDERMAPS_TILES_URL now has no remaining reference in this repo; it
can be dropped from report-prod once the cutover has held (kept for now so
a rollback is a one-line revert).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@yorickdewid
yorickdewid merged commit b11c4c5 into main Aug 6, 2026
@yorickdewid
yorickdewid deleted the feat/dynamic-incident-district-source branch August 6, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant