feat(print): read incident_district from the Martin tileserver - #65
Merged
Conversation
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>
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.
Switches the incidents chapter from the static Spaces tileset to the dynamic
incident_districtsource on tiles.fundermaps.com, added via its TileJSON endpoint — the same patternConstructionYearChapter.vuealready uses forbuildings.Backed by Laixer/FunderMapsWorker#73, which moves
incident_districtoff 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.jsonis untouched — the MVT layer name matches the retired tileset name.Follow-up
VITE_FUNDERMAPS_TILES_URLnow 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 --noEmitandeslintboth clean. The rendered chapter should be spot-checked in a generated PDF after deploy — Gotenberg fetches these tiles server-side.🤖 Generated with Claude Code