Last Updated on March 4, 2026 by Editorial Team
Author(s): Ahmed Boulahia
Originally published on Towards AI.
Why is Tunis traffic so bad? Urban Planning Analysis of Tunis Traffic Congestion, A Geospatial Study using Python OSMnx and OpenStreetMap to Analyze Street Connectivity, Road Network Entropy, and Infrastructure Bottlenecks.
If you live in Tunis, your day likely begins and ends with the same conversation: the traffic.

The article explores traffic congestion in Tunis using a geospatial analysis to reveal how urban street networks impact traffic flow. Through various metrics, the author examines connectivity and entropy in the city’s road systems, emphasizing that the unique geometric configuration of Tunis contributes significantly to its notorious traffic issues. By analyzing the urban layout and proposing enhancements for connectivity, the author ultimately advocates for a more efficient urban design that can alleviate congestion and improve mobility in the city.
Read the full blog for free on Medium.
Published via Towards AI
We Build Enterprise-Grade AI. We’ll Teach You to Master It Too.
15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.
Start free — no commitment:
→ 6-Day Agentic AI Engineering Email Guide — one practical lesson per day
→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages
Our courses:
→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.
→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.
→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.
Note: Article content contains the views of the contributing authors and not Towards AI.