Move map assets out of CI

This commit is contained in:
Andras Schmelczer 2026-05-10 15:05:42 +01:00
parent a5f2e6eabb
commit 9248e26af2
851 changed files with 1925 additions and 10 deletions

View file

@ -17,12 +17,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Download map assets (fonts, sprites, twemoji)
run: uv run python -m pipeline.download.map_assets --output frontend/public/assets
- name: Install Docker CLI
run: |
ARCH=$(uname -m)
@ -84,4 +78,3 @@ jobs:
${{ env.REGISTRY }}/${{ steps.tags.outputs.repo }}-screenshot:sha-${{ steps.tags.outputs.sha_short }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ steps.tags.outputs.repo }}-screenshot:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ steps.tags.outputs.repo }}-screenshot:buildcache,mode=max

7
.gitignore vendored
View file

@ -6,6 +6,13 @@
server-rs/target
.task
frontend/public/assets/*
!frontend/public/assets/fonts/
!frontend/public/assets/fonts/**
!frontend/public/assets/sprites/
!frontend/public/assets/sprites/**
!frontend/public/assets/twemoji/
!frontend/public/assets/twemoji/**
!frontend/public/assets/poi-icons/
!frontend/public/assets/poi-icons/**
frontend/public/assets/.done
server-rs/logs

View file

@ -3,6 +3,7 @@
# Usage:
# make -f Makefile.data prepare # Build all parquets (+ all deps)
# make -f Makefile.data tiles # Download UK map tiles
# make -f Makefile.data download-map-assets
#
# Or include from the main Makefile and use targets directly.
@ -55,9 +56,11 @@ MEDIAN_AGE := $(DATA_DIR)/median_age.parquet
ELECTION := $(DATA_DIR)/election_results.parquet
ENGLAND_BOUNDARY := $(DATA_DIR)/england_boundary.geojson
RM_OUTCODES := frontend/src/lib/rightmove-outcodes.json
MAP_ASSETS_DIR := frontend/public/assets
# Sentinel files for directory targets (Make doesn't track directories well)
INSPIRE_STAMP := $(INSPIRE_DIR)/.done
MAP_ASSETS_STAMP := $(MAP_ASSETS_DIR)/.done
PMTILES_VERSION := 1.22.3
@ -68,6 +71,7 @@ PMTILES_VERSION := 1.22.3
download-naptan download-pois download-grocery-retail-points download-ofsted download-broadband download-rental-prices \
download-postcodes download-noise download-inspire download-crime \
download-oa-boundaries download-uprn-lookup download-transit-network download-greenspace download-os-greenspace download-pbf download-places download-lsoa-population download-median-age download-england-boundary download-rightmove-outcodes \
download-map-assets \
transform-pois transform-epc-pp transform-crime transform-poi-proximity \
transform-school-proximity transform-postcode-boundaries \
generate-postcode-boundaries
@ -101,6 +105,7 @@ download-median-age: $(MEDIAN_AGE)
download-election-results: $(ELECTION)
download-england-boundary: $(ENGLAND_BOUNDARY)
download-rightmove-outcodes: $(RM_OUTCODES)
download-map-assets: $(MAP_ASSETS_STAMP)
transform-pois: $(POIS_FILTERED)
transform-epc-pp: $(EPC_PP)
transform-crime: $(CRIME)
@ -214,6 +219,10 @@ $(ENGLAND_BOUNDARY):
$(RM_OUTCODES): $(MERGE_STAMP)
uv run python -m pipeline.download.rightmove_outcodes --postcodes $(POSTCODES_PQ) --output $@
$(MAP_ASSETS_STAMP):
uv run python -m pipeline.download.map_assets --output $(MAP_ASSETS_DIR)
@touch $@
# ── Transforms ────────────────────────────────────────────────────────────────
$(POIS_FILTERED): $(POIS_RAW) $(NAPTAN) $(GROCERY_RETAIL_POINTS) $(ENGLAND_BOUNDARY)

View file

@ -204,6 +204,5 @@ under `/app/data` and serves `frontend/dist` when `--dist` is present.
make -f Makefile.data tiles prepare generate-postcode-boundaries download-places
uv run python -m pipeline.download.map_assets --output frontend/public/assets
transform-postcode-boundaries: is dumb
./r5-java/run.sh --paths
make -f Makefile.data download-map-assets
./r5-java/run.sh --paths

View file

@ -0,0 +1,3 @@

Sans Italic 10240-10495

View file

@ -0,0 +1,3 @@

Sans Italic 10496-10751

View file

@ -0,0 +1,3 @@

Sans Italic 10752-11007

View file

@ -0,0 +1,3 @@

Sans Italic 11008-11263

View file

@ -0,0 +1,3 @@

Sans Italic 12032-12287

View file

@ -0,0 +1,3 @@

Sans Italic 12288-12543

View file

@ -0,0 +1,3 @@

Sans Italic 12544-12799

View file

@ -0,0 +1,3 @@

Sans Italic 12800-13055

View file

@ -0,0 +1,3 @@

Sans Italic 13056-13311

View file

@ -0,0 +1,3 @@

Sans Italic 13312-13567

View file

@ -0,0 +1,3 @@

Sans Italic 13568-13823

View file

@ -0,0 +1,3 @@

Sans Italic 13824-14079

View file

@ -0,0 +1,3 @@

Sans Italic 14080-14335

View file

@ -0,0 +1,3 @@

Sans Italic 14336-14591

View file

@ -0,0 +1,3 @@

Sans Italic 14592-14847

View file

@ -0,0 +1,3 @@

Sans Italic 14848-15103

View file

@ -0,0 +1,3 @@

Sans Italic 15104-15359

View file

@ -0,0 +1,3 @@

Sans Italic 1536-1791

View file

@ -0,0 +1,3 @@

Sans Italic 15360-15615

View file

@ -0,0 +1,3 @@

Sans Italic 15616-15871

View file

@ -0,0 +1,3 @@

Sans Italic 15872-16127

View file

@ -0,0 +1,3 @@

Sans Italic 16128-16383

View file

@ -0,0 +1,3 @@

Sans Italic 16384-16639

View file

@ -0,0 +1,3 @@

Sans Italic 16640-16895

View file

@ -0,0 +1,3 @@

Sans Italic 16896-17151

View file

@ -0,0 +1,3 @@

Sans Italic 17152-17407

View file

@ -0,0 +1,3 @@

Sans Italic 17408-17663

View file

@ -0,0 +1,3 @@

Sans Italic 17664-17919

View file

@ -0,0 +1,3 @@

Sans Italic 1792-2047

View file

@ -0,0 +1,3 @@

Sans Italic 17920-18175

View file

@ -0,0 +1,3 @@

Sans Italic 18176-18431

View file

@ -0,0 +1,3 @@

Sans Italic 18432-18687

View file

@ -0,0 +1,3 @@

Sans Italic 18688-18943

View file

@ -0,0 +1,3 @@

Sans Italic 18944-19199

View file

@ -0,0 +1,3 @@

Sans Italic 19200-19455

View file

@ -0,0 +1,3 @@

Sans Italic 19456-19711

View file

@ -0,0 +1,3 @@

Sans Italic 19712-19967

View file

@ -0,0 +1,3 @@

Sans Italic 19968-20223

View file

@ -0,0 +1,3 @@

Sans Italic 20224-20479

View file

@ -0,0 +1,3 @@

Sans Italic 2048-2303

View file

@ -0,0 +1,3 @@

Sans Italic 20480-20735

View file

@ -0,0 +1,3 @@

Sans Italic 20736-20991

View file

@ -0,0 +1,3 @@

Sans Italic 20992-21247

View file

@ -0,0 +1,3 @@

Sans Italic 21248-21503

View file

@ -0,0 +1,3 @@

Sans Italic 21504-21759

View file

@ -0,0 +1,3 @@

Sans Italic 21760-22015

View file

@ -0,0 +1,3 @@

Sans Italic 22016-22271

View file

@ -0,0 +1,3 @@

Sans Italic 22272-22527

View file

@ -0,0 +1,3 @@

Sans Italic 22528-22783

View file

@ -0,0 +1,3 @@

Sans Italic 22784-23039

View file

@ -0,0 +1,3 @@

Sans Italic 2304-2559

View file

@ -0,0 +1,3 @@

Sans Italic 23040-23295

View file

@ -0,0 +1,3 @@

Sans Italic 23296-23551

View file

@ -0,0 +1,3 @@

Sans Italic 23552-23807

View file

@ -0,0 +1,3 @@

Sans Italic 23808-24063

View file

@ -0,0 +1,3 @@

Sans Italic 24064-24319

View file

@ -0,0 +1,3 @@

Sans Italic 24320-24575

View file

@ -0,0 +1,3 @@

Sans Italic 24576-24831

View file

@ -0,0 +1,3 @@

Sans Italic 24832-25087

View file

@ -0,0 +1,3 @@

Sans Italic 25088-25343

View file

@ -0,0 +1,3 @@

Sans Italic 25344-25599

View file

@ -0,0 +1,3 @@

Sans Italic 2560-2815

View file

@ -0,0 +1,3 @@

Sans Italic 25600-25855

View file

@ -0,0 +1,3 @@

Sans Italic 25856-26111

View file

@ -0,0 +1,3 @@

Sans Italic 26112-26367

View file

@ -0,0 +1,3 @@

Sans Italic 26368-26623

View file

@ -0,0 +1,3 @@

Sans Italic 26624-26879

View file

@ -0,0 +1,3 @@

Sans Italic 26880-27135

View file

@ -0,0 +1,3 @@

Sans Italic 27136-27391

View file

@ -0,0 +1,3 @@

Sans Italic 27392-27647

View file

@ -0,0 +1,3 @@

Sans Italic 27648-27903

View file

@ -0,0 +1,3 @@

Sans Italic 27904-28159

View file

@ -0,0 +1,3 @@

Sans Italic 2816-3071

View file

@ -0,0 +1,3 @@

Sans Italic 28160-28415

View file

@ -0,0 +1,3 @@

Sans Italic 28416-28671

View file

@ -0,0 +1,3 @@

Sans Italic 28672-28927

View file

@ -0,0 +1,3 @@

Sans Italic 28928-29183

View file

@ -0,0 +1,3 @@

Sans Italic 29184-29439

View file

@ -0,0 +1,3 @@

Sans Italic 29440-29695

View file

@ -0,0 +1,3 @@

Sans Italic 29696-29951

View file

@ -0,0 +1,3 @@

Sans Italic 29952-30207

View file

@ -0,0 +1,3 @@

Sans Italic 30208-30463

View file

@ -0,0 +1,3 @@

Sans Italic 30464-30719

View file

@ -0,0 +1,3 @@

Sans Italic 3072-3327

View file

@ -0,0 +1,3 @@

Sans Italic 30720-30975

View file

@ -0,0 +1,3 @@

Sans Italic 30976-31231

View file

@ -0,0 +1,3 @@

Sans Italic 31232-31487

View file

@ -0,0 +1,3 @@

Sans Italic 31488-31743

View file

@ -0,0 +1,3 @@

Sans Italic 31744-31999

Some files were not shown because too many files have changed in this diff Show more