This repository builds a grid-based Urban Quality Index for Lahore from remote sensing, OSM roads/POIs, AQI, and built-form features.
- Extracts and prepares core spatial layers (NDVI, LST, NL, AQI, buildings, roads, POIs).
- Builds 250m and 100m Lahore grids.
- Computes
EQ,UD, andOverallindex scores innotebooks/index.ipynb. - Runs two ablation families:
- metric drop ablations (
notebooks/ablations/) - weight-scenario ablations (
notebooks/ablations_weight_scenarios/)
- metric drop ablations (
EQ = weighted average of environmental indicatorsUD = weighted average of urban development indicatorsOverall = 0.4 * EQ + 0.6 * UD- Visualization maps use robust scaling to
[0,10](Overall_vis).
100m base EQ weights:
NDVI_sc 0.35,LST_sc 0.35,AQI_sc 0.20,POI_access_sc 0.10
UD weights:
BFP_presence_sc 0.10,Highrise_decay_sc 0.30,Height_sc 0.20,BFP_density_sc 0.20,Road_density_sc 0.20
notebooks/index.ipynbmain integration + index + ablationsnotebooks/POI/POI fetch + accessibility surfacenotebooks/OSM/roads/OSM preparationnotebooks/AQI/,notebooks/NDVI/,notebooks/LST/,notebooks/NL/source-specific processingfigs/static figures for documentation/paperDATA_INVENTORY.mddataset-level file list, sources, and resolutions
notebooks/lahore_index_250m.geojsonnotebooks/lahore_index_100m.geojsonnotebooks/lahore_index_250m.csvnotebooks/lahore_index_100m.csvnotebooks/lahore_index_map_final.html
- Generate or verify source layers in domain notebooks (
AQI,NDVI,LST,NL,POI,OSM). - Open
notebooks/index.ipynb. - Run all cells top-to-bottom.
- Check ablations:
notebooks/ablations/*.pngnotebooks/ablations_weight_scenarios/*.png











