
Moveet: Building a City-Agnostic Fleet Simulator with Real Road Networks and Live Traffic
Moveet is an open-source, real-time vehicle fleet simulator built in TypeScript. It runs vehicles on actual road networks with A* pathfinding, realistic traffic modeling, and a custom D3-based map renderer — no Leaflet, no Mapbox, no tile provider. The latest release makes the simulator fully city-agnostic. Point it at any city, and it builds a routable graph from OpenStreetMap data, complete with congestion modeling, geofencing, and a live traffic overlay. Here is what went into it. From OSM Data to a Routable Graph A CLI pipeline ( apps/network ) handles the full OpenStreetMap ingestion: npm run dev -- prepare nairobi This downloads a country PBF from Geofabrik, clips a bounding box with osmium (via Docker), filters to drivable road classes, exports GeoJSON, and validates the topology. Cached after first run. A regions.json manifest covers major cities globally — switching cities is a one-argument change. The builder prunes disconnected components, parses OSM tags like lane counts, s
Continue reading on Dev.to Webdev
Opens in a new tab




