SDG 11 [What to build](https://logicpacks.io/build) · 3 ideas

# Goal 11: Sustainable cities and communities

Inclusive, safe, resilient and sustainable cities and settlements.

Fast-growing cities run on informal transport and complaints that go nowhere. Maps of minibus routes, issue reports that reach the right office, and street-level flood alerts are within reach of a small team.

Roman Urdu: Shehar tezi se barh rahe hein. Wagon routes ka map, shikayat jo sahi daftar tak pohanche, aur gali ke level pe flood alert chhoti team bana sakti ha.

Official page: [UN Sustainable Development Goal 11](https://sdgs.un.org/goals/goal11)

1.  [Minibus and rickshaw route map](#informal-transit-map)
2.  [Civic issue reports that reach the right office](#civic-issue-reporter)
3.  [Street-level flood alerts](#street-flood-alert)

Idea 1

## Minibus and rickshaw route map

Informal economy Low-end Android Patchy internet Cash / COD

The problem

Matatus, wagons, chingchis and danfos carry much of the city but have no official map, so newcomers and visitors cannot plan trips.

Who it helps

Commuters, students and new arrivals in cities such as Nairobi, Lagos, Karachi or Dhaka.

Weekend version

Volunteers ride routes with a phone that records GPS and stops; the tool turns each ride into a GTFS route and shows all routes on a simple map with fares people reported.

Tools (free tier or local mock)

-   [Leaflet](https://leafletjs.com/) (open source) with [OpenStreetMap](https://www.openstreetmap.org/) tiles for the map; light enough for low-end phones.
-   [Workbox](https://developer.chrome.com/docs/workbox) (open source) for an offline-first PWA; see the free [web.dev PWA course](https://web.dev/learn/pwa/).
-   [Supabase](https://supabase.com/pricing) free plan: 2 projects, 500 MB database each; free projects pause after a week with no activity.

Data

-   [GTFS](https://gtfs.org/): the open format for transit data, so your routes work in other apps.
-   [Digital Matatus](https://www.digitalmatatus.com/): an earlier project that mapped Nairobi's matatus as open data; study its method.
-   Routes, stops and fares recorded by the riders themselves.

Starter prompt (for the reader to paste into their own coding agent):

```text
Build a route recorder and map. Part one is a PWA that records a GPS track every 5 seconds while riding, lets the rider tap "stop" at each stop and enter the fare, stores it offline in IndexedDB and uploads when online. Part two is a Python script that simplifies tracks, snaps stops within 50 m together across rides, and writes a valid GTFS feed (stops, routes, shapes, trips without exact times). Part three is a Leaflet map of all routes. Done means the GTFS output passes a validator check in tests and a demo builds a feed from 3 sample recorded rides.
```

Idea 2

## Civic issue reports that reach the right office

WhatsApp-first Local languages Low-end Android

The problem

Overflowing garbage, open manholes and broken streetlights are reported in WhatsApp groups and then forgotten. Nobody tracks whether the complaint reached the right office or got fixed.

Who it helps

Residents, neighbourhood associations and ward councillors, for example in Bengaluru, Karachi or Accra.

Weekend version

Send a photo and location on WhatsApp; the tool files it under the right ward and category, posts it on a public map, and asks the reporter after a week whether it was fixed.

Tools (free tier or local mock)

-   [WhatsApp Cloud API](https://developers.facebook.com/docs/whatsapp/pricing) (Meta): priced per message. Messages users send you are free, and each business number gets 1,000 free service messages a month; template messages you start are charged. Use a local mock while building.
-   [Leaflet](https://leafletjs.com/) (open source) with [OpenStreetMap](https://www.openstreetmap.org/) tiles for the map; light enough for low-end phones.
-   [FixMyStreet](https://fixmystreet.org/) (mySociety): open source platform for street reports; reuse or learn from it before building your own.

Data

-   Ward or union council boundaries from [OpenStreetMap](https://www.openstreetmap.org/) where mapped, or a boundary file from your city.
-   Reports and photos from residents.

Starter prompt (for the reader to paste into their own coding agent):

```text
Build a civic issue bot in Python with a local mock of the WhatsApp webhook. A report is a photo, a shared location and an optional voice note or text. Assign the ward by point-in-polygon against a GeoJSON boundary file, pick a category from a short list (garbage, drainage, streetlight, road, other) using keywords first and a small local model only as fallback, and store it in SQLite. Serve a public Leaflet map with status, and send the reporter a "fixed yet?" message after 7 days. Done means tests cover ward assignment, categorisation and the follow-up schedule.
```

Idea 3

## Street-level flood alerts

WhatsApp-first Patchy internet Low-end Android Local languages

The problem

In monsoon and rainy seasons, low-lying streets flood within an hour of heavy rain. City-wide warnings are too broad, and people learn which roads are under water only when they are stuck.

Who it helps

Residents, commuters and shop owners in flood-prone cities such as Dhaka, Lagos, Karachi or Jakarta.

Weekend version

Residents mark streets that usually flood; when the forecast shows heavy rain for that spot, subscribers get an alert, and anyone can report "flooded" or "clear" to update a live map.

Tools (free tier or local mock)

-   [Open-Meteo](https://open-meteo.com/en/pricing): free for non-commercial use, up to 10,000 calls a day, no key. Commercial use needs a paid plan.
-   [Open-Meteo Flood API](https://open-meteo.com/en/docs/flood-api): river discharge forecasts from GloFAS at about 5 km resolution. Same free non-commercial terms as the [main API](https://open-meteo.com/en/pricing).
-   [WhatsApp Cloud API](https://developers.facebook.com/docs/whatsapp/pricing) (Meta): priced per message. Messages users send you are free, and each business number gets 1,000 free service messages a month; template messages you start are charged. Use a local mock while building.
-   [Leaflet](https://leafletjs.com/) (open source) with [OpenStreetMap](https://www.openstreetmap.org/) tiles for the map; light enough for low-end phones.

Data

-   Flood-prone streets marked by residents, with each report time-stamped.
-   [Open-Meteo forecast API](https://open-meteo.com/en/docs): hourly precipitation for each marked street.

Starter prompt (for the reader to paste into their own coding agent):

```text
Build a flood alert service in Node.js with SQLite. Residents register flood-prone points with a name and coordinates. Every hour, fetch the Open-Meteo hourly precipitation forecast for each point and, when the next 6 hours exceed a threshold you can configure, alert subscribers once per event. Accept "flooded" and "clear" reports by message and show the latest status per point on a Leaflet map, fading reports older than 6 hours. Mock WhatsApp with a console transport and use saved forecast JSON in tests. Done means tests cover thresholds, one alert per event and report expiry.
```

New to agents? Start with the [install guides](https://logicpacks.io/install).

[Previous : Goal 9: Industry, innovation and infrastructure](https://logicpacks.io/build/industry-innovation) [Next : Goal 13: Climate action](https://logicpacks.io/build/climate-action)

---

Canonical URL: https://logicpacks.io/build/sustainable-cities

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](https://logicpacks.io/llms.txt). Plain facts: [/about.md](https://logicpacks.io/about.md). Safety: [/safety.md](https://logicpacks.io/safety.md).
