This project generates vector tiles for the UK Deprivation Annual Index at the Lower Layer Super Output Area (LSOA) level.
- Reproject LSOA boundary geometries to WGS84 with 6 decimal places precision
- Run
process.py
to join the deprivation data to the LSOA boundaries - Generate vector tiles from the combined GeoJSON using tippecanoe:
counter=0
for file in output/*.geojson; do
tippecanoe --output="${file%.geojson}.pmtiles" --generate-ids --force --no-feature-limit --no-tile-size-limit --detect-shared-borders --coalesce-fraction-as-needed --coalesce-densest-as-needed --coalesce-smallest-as-needed --coalesce --reorder --minimum-zoom=0 --maximum-zoom=16 "$file"
echo "Processed file $counter"
counter=$((counter+1))
done
The final vector tileset is written to output/LSOA.pmtiles
.
Due to Cloudflare weirdness, items with a dash in them won't load.