Belaku

Learning project · how Belaku works, in plain language

Kannada text reviewed by AI; review by a native speaker is welcome.

How a street ends up “dark” on this map

Belaku is a learning project, not an official BBMP / GBA tool. It puts known street-light positions on top of the road map and points out stretches where no light is recorded. “Dark” means no light in the data. It does not mean nobody has checked the street at night. Please treat every result as a place to go and look, not a finding.

1. Where the data comes from

2. The spacing rule

We walk along every road and ask: is there a known light within the spacing distance for this kind of road? A stretch with no known light becomes dark. The number of “lamps short” is the stretch length divided by the spacing.

Road type (OSM)Spacing
motorway, trunk, primary25 m
secondary, tertiary30 m
residential, service and other streets35 m

3. Where we do not know (“Insufficient data”)

We could not find a citywide open dataset of streetlight positions. We checked OpenCity. BBMP’s 2025 survey (about 5.36 lakh lights, reported by The Hindu) is not published as open data. So roads outside the 4 surveyed zones are shown hatched grey as Insufficient data. They are left out of dark km and % lit, and the exports flag them. About 49 % of road length is surveyed (7,206 of 14,722 km). By corporation: South 72 %, Central 63 %, West 56 %, North 48 %, East 0 %. Where less than 20 % of an area is surveyed, we do not show a lit share at all.

4. Which dark spots come first

Each dark stretch gets a 0–100 score. It is a mix of how many places people walk to lie within 150 m (bus stops, metro, schools, hospitals, markets and so on, counting at most 3 of each kind), how busy the road class is, and how long the stretch is. Safety view gives more weight to walking routes to schools, bus stops and metro. The weights are listed in docs/priority-scoring.md, and the scores are stored in PostGIS.

5. What kind of fix, and roughly what it costs

Add fitting: a pole is there with no working light (from the Mapillary check). Infill pole: lights already stand near either end of the stretch. New stretch: no lights nearby, so it needs new poles and cable. The unit costs are editable, and each one cites its source:

6. Data sources and how fresh they are

This table is written automatically by tools/db/sources.py at the end of every refresh. It reads PBF headers, file times and database rows, so the dates are real. The only exceptions are values marked ASSUMPTION. The OSM extract, the basemap, the areas, the gap run and the priority scores refresh weekly (Mon 03:00 IST) with scripts/osm_refresh.sh. The GitHub workflow that schedules it is untested. BBMP surveys, Mapillary and cost benchmarks are refreshed by hand.

Loading…

7. Limits

Sources: OpenCity (BBMP surveys) · OpenStreetMap (ODbL) · Mapillary (CC BY-SA) · EESL/PIB · MNRE · The Hindu (BBMP 2025 survey reporting). This is a decision aid, not a statutory inventory.