10 minutes

Day 13 of 30DayMapChallenge. 10 minutes map
R
30DayMapChallenge
spatial
datavisualization
OSM
Author

Michaël

Published

2025-11-13

Modified

2025-11-13

Montage of various clocks showing tens

10:10:10 on 10/10/10 - “Give Me A Little More Time” – CC-BY-NC-SA by Jill Clardy

Day 13 of 30DayMapChallenge: « 10 minute map » (previously).

Where can you go in 10 minutes (by car) from Les Minutes?

library(osrm)
library(leaflet)
library(glue)

Data

We use {osrm} to build the isochrone. The service is based on OpenStreetMap data.

loc <- c(4.1485138, 45.8725235)
isochrone <- osrmIsochrone(loc = loc, 
                           breaks = 10, res = 50)

Easy…

Map

Easily too, and fast with {leaflet}.

isochrone |> 
  leaflet() |> 
  addTiles(attribution = glue("<a href='https://r.iresmi.net'>r.iresmi.net</a> – {Sys.Date()}. Data OSRM &amp; <a href='https://www.openstreetmap.org/copyright'>© OpenStreetMap</a>, ODbL ; <a href='https://openstreetmap.org/fixthemap'>Fix the map</a>")) |> 
  addPolygons() |> 
  addAwesomeMarkers(lng = loc[1], lat = loc[2])
Figure 1: Where can you go in 10 minutes (by car) from Les Minutes?

In less than 10 minutes…