Methodology · Klang Valley
Transparent scoring and open data sources
BetterPlace never invents numbers. Every metric is traced to a public dataset or a deterministic engine function. Missing values remain null and are omitted from weighted averages.
Composite Fit formula
For any neighbourhood cell a and preference weights w:
Fit(u, a) = sum(w_i * s'_i) / sum(w_i) over non-null sub-scores, where s'_i = 100 * (s_i / 100)^0.85
If every weighted sub-score is null, Fit returns null and the cell is shown as Data unavailable. Hard limits either exclude the cell or apply a stated penalty.
Feature scoring functions (0–100)
| Feature | Direction | Formula | Parameters |
|---|---|---|---|
| Total population population | Higher is better | 100 * (1 - exp(-population / 4000)) | scale=4000 |
| Older residents (65+) pop65 | Higher is better | 100 * (1 - exp(-pop65 / 600)) | scale=600 |
| Clinics within 800 m clinics_800m | Higher is better | 100 * (1 - exp(-count / 2.5)) | scale=2.5 |
| Schools within 800 m schools_800m | Higher is better | 100 * (1 - exp(-count / 2.0)) | scale=2 |
| Parks within 800 m parks_800m | Higher is better | 100 * (1 - exp(-count / 2.0)) | scale=2 |
| Distance to rail station rail_dist_m | Lower is better | 100 * exp(-dist_m / 900) | scale=900 |
| Distance to bus stop bus_dist_m | Lower is better | 100 * exp(-dist_m / 400) | scale=400 |
| Mean air temperature air_temp_c | Lower is better | 100 * (1 - clamp((temp_c - 22) / 14, 0, 1)) | comfortBaseC=22, spanC=14 |
| PM2.5 air pollution pm25 | Lower is better | 100 * exp(-max(0, pm25) / 25) | scale=25 |
| Relative flood proxy flood_proxy | Lower is better | 100 * (1 - clamp(flood_proxy, 0, 1)) | min=0, max=1 |
| Monthly rent rent | Lower is better | 100 * exp(-max(0, rent) / 2500) | scale=2500 |
| Tree & greenery cover greenery | Higher is better | clamp(greenery, 0, 100) | min=0, max=100 |
| Land surface temperature surface_heat | Lower is better | 100 * (1 - clamp((surface_heat - 24) / 20, 0, 1)) | comfortBaseC=24, spanC=20 |
| Pedestrian footfall footfall | Higher is better | 100 * (1 - exp(-footfall / 2000)) | scale=2000 |
| Streets with known surface known_surface_pct | Higher is better | clamp(known_surface_pct, 0, 100) | min=0, max=100 |
Data sources and grains
| Feed | Source | Grain | Missing policy |
|---|---|---|---|
| Amenities, transit, street network | OpenStreetMap | point → cell (H3 res 8) | Missing tags remain null |
| Air temperature & PM2.5 | Open-Meteo ERA5-Land / CAMS | ~9 km / ~10 km grid | Null when unavailable |
| Population & age 65+ | WorldPop GeoTIFF (optional) | raster → H3 cell | Never derived from guessed rates |
| Street barriers & verifications | Resident reports (Beta(2,1) prior) | Point snapped to edge | Only reviewed reports affect routing |