Last updated on March 4, 2026 by Editorial Team
Author(s): Ahmed Boulahiya
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 constraints.
If you live in Tunis, your day probably starts and ends with the same conversation: traffic.

The article explores traffic congestion in Tunis using geospatial analysis to examine how urban road networks affect traffic flows. Through various metrics, the author examines the connectivity and entropy in the city’s road systems, emphasizing that Tunis’s unique geometric structure significantly contributes to its notorious traffic issues. By analyzing urban layout and proposing enhancements to connectivity, the author ultimately advocates a more efficient urban design that can reduce congestion and improve mobility in the city.
Read the entire blog for free on Medium.
Published via Towards AI
We build enterprise-grade AI. We will also teach you how to master it.
15 Engineers. 100,000+ students. The AI Academy side teaches what actually avoids production.
Get started for free – no commitments:
→ 6-Day Agent 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.
→ 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 to complex work tasks.
Comment: The content of the article represents the views of the contributing authors and not those of AI.
