← Portfolio · demo with recorded routes

Safe Route Planner

Most map apps pick the fastest route. This one picks the safest one first, then the one that uses the least fuel, then the quickest. It counts what makes a drive risky: turns across traffic at busy or crash-prone junctions, school zones, railroad crossings, closures and driving into a low sun, and it shows what the safer route avoids compared with the standard one.

It plans car, bike, walking and bus trips around Milwaukee on its own router over OpenStreetMap roads, using public crash data and work zones.

Try a trip:

This copy runs without its server: routes between 12 sample places were recorded from the real engine, so points you set move to the nearest sample place. The map, layers, directions and the 3D drive preview run live in your browser.

Map layers
Map type
Map key
  • Recommended route
  • Standard (fastest) route
  • Shortest route
  • Other routes
  • Road closed
  • Lane closure
  • Weather hazard: fog, ice, flooding
  • 3Several closures: zoom in
  • Risky turn across traffic
  • Risky turn the recommended route avoids
  • Railroad crossing (faded: one it avoids)
  • School zone at school times (faded: one it avoids)
  • Busy crossing without a signal
  • Busy crossing the recommended route avoids
  • Walking: sidewalk or path → busy street without one
  • Bus ride, in the route's color · walk

How it works

Most navigation apps pick the fastest route. This one puts your safety first, then fuel, then time: of the routes it finds, the safest wins; among equally safe ones, the one that burns the least fuel; then the fastest.

What makes a route risky

Each route gets a safety score from 0 to 100 that adds these up the same way for everyone: higher is safer.

How the routes are found

Our own router searches Milwaukee's streets for routes that avoid those risks, then compares each with the standard, fastest route. You choose how much extra time a safer route may take, and when you leave: school zones and the sun change with the time.

Map data © OpenStreetMap contributors. Work zones and incidents: Wisconsin DOT (511). Traffic © TomTom. Crash locations: NHTSA's Fatality Analysis Reporting System, 2020–2024.

Open on your phone

About me

I'm Ventura Perez. I was born and raised in Madrid, Spain, and moved to the US right before my tenth birthday without knowing a word of English. Since then I've lived in New Jersey, Miami and now Milwaukee, where I'm a business analyst and QA in i.c.stars, a technology and leadership program.

Why I made SafeMaps

I was planning routes long before I wrote code: at Domino's in Miami Beach, I planned delivery routes and timed the ovens to keep orders on schedule.

Most map apps answer one question: what's the fastest way? But the fastest route often turns left across oncoming traffic at a busy or crash-prone junction, or drives through a lane closure, and the app never tells you.

I got into programming to build the tools I wish existed, so I built this one. It finds the safest route first, then the one that uses the least fuel, and only then the quickest, and it explains its choice in plain words. I first built it as a prototype for a tech expo.

QR code that opens my portfolio
Scan it with your phone to see my portfolio and my other projects.