JacobWeinbren / Annual-Deprivation

Annual Deprivation Measure Mapped

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UK Deprivation Annual Index

This project generates vector tiles for the UK Deprivation Annual Index at the Lower Layer Super Output Area (LSOA) level.

Data Sources

Processing Steps

  1. Reproject LSOA boundary geometries to WGS84 with 6 decimal places precision
  2. Run process.py to join the deprivation data to the LSOA boundaries
  3. 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

Output

The final vector tileset is written to output/LSOA.pmtiles.

Note

Due to Cloudflare weirdness, items with a dash in them won't load.

About

Annual Deprivation Measure Mapped

License:MIT License


Languages

Language:Astro 57.1%Language:Python 40.2%Language:JavaScript 2.6%