How to build a 15-minute city: a question answered by map data
Tags: googlemaps, datascience, webscraping, datavisualization
Published: 2023-03-30 14:24:24

---
title: How to build a 15-minute city: a question answered by map data
published: true
date: 2023-03-23 15:15:28 UTC
tags: googlemaps, datascience, webscraping, datavisualization
canonical_url: https://blog.apify.com/google-maps-data-15-minute-city/
---

Find out how extracting quantitative data from Google Maps can help us understand and suggest improvements in the urban environment.

What makes a city enjoyable to live in? According to [Carlos Moreno](https://doi.org/10.3390/smartcities4010006?ref=blog.apify.com), to really enjoy a city, one must be able to live within 15 minutes walking, biking, or public transit distance of everything one needs to eat, drink, work, and play.

Discover how one curious writer uses scraped map data to apply Morenos concept to define where within his city such a 15-minute city exists, and where it might be created.

> [🌳 **See the original article here**](https://mistersuuns.medium.com/a-15-minute-nanaimo-4f0721fae705?ref=blog.apify.com)

## **🤔 Curiosity built the map**

[Robert Turner](https://robertturner.co/copyedit?ref=blog.apify.com) is a technology lead with a Ph.D. in government and a passion for public things, including cities and urban planning. After spending two years in Budapest, Robert had transplanted to Nanaimo, a small western Canadian city, where he came across an article reporting that city officials were interested in making Nanaimo a 15-minute city.

![Professor Carlos Moreno. Source: rtve.es](https://lh6.googleusercontent.com/F6DNfQhCwkF1fzZtBpBIFHqc1ZWW3xelhqVLSS-ljUA8ZFgV1qrQkJFkKLfhi78ErZxsEvZz7lWx_IApFmgwt10uBQo5dQl-oasXEr7K2s5P8ekthdhWbDDhqBR1IEOs3kW4aquUR4cEmIGjEy7KOzY)

**_Professor Carlos Moreno. Source:_** [**_rtve.es_**](http://rtve.es)

The 15-minute city has been promoted globally, by many city mayors most famously, Parisian mayor Anne Hidalgo.That the sprawling, car-dependent City of Nanaimo was touting the idea piqued Roberts attention. He wondered if one could quantitatively evaluate how close or far a city is from approximating Morenos model. It seemed obvious that a city with [Walk, Bike, and Public Transit Scores](https://www.walkscore.com/CA-BC/Nanaimo?ref=blog.apify.com) in the mid-30s could not possibly be a 15-minute city overall. But what about certain city districts? Were some neighborhoods more car-dependent than others? And if they were, could this be changed? All good questions with no clear answers. Research and data were necessary.

![Downtown Nanaimo, BC. Source: marinas.com](https://lh5.googleusercontent.com/ekBh0t5njGDI97ZJHSWdDPObGFOj7crnMTG0uVZB3093g8UDqf4UdBHoLEMEYqj5a9oqZbPXuUMw59TyLb-msxJoYaXgD3RSFIEpVG4QEh6Fla2LhZJu-95CnJoTP7xWMEbBr6GcNWAN21ZVx3ULp68)

**_Downtown Nanaimo, BC. Source:_** [**_marinas.com_**](http://marinas.com)

## **💡 Mapping out project ideas**

Having no prior experience with mapping, Robert ran his thoughts by a few friends from grad school. They suggested working backwards from zones around amenity locations grocery markets, pharmacies, parks, schools, and so on to find areas of intersection. These overlapping amenity-access zones would be 15-minute neighborhoods.

Having surveyed some of the 15-minute city literature, Robert observed two trends: there were, on the one hand, very sophisticated analyses, mostly of very large, cosmopolitan cities, and on the other, more aesthetically appealing visions of the 15-minute city with very little quantitative substance. Cities like Nanaimo generally fell outside the gaze of more cosmopolitan urban planners. Robert decided to take a very basic, broad approach that would lay the ground for an informed, local, public discussion of 15-minute walkability.

![Gallery Image](https://lh4.googleusercontent.com/XmVARDhzSNoxXFDOGQxR4lWb9yi1aRjnxth3OFWOr7sC9Bors_PKfdEq4wDRT-4M-oX3eDi629URK2E2CSk7uQaGBkysibWy7TTfhHrwxCtFhObqyAW3adXcTzUNDBkvhagqPkh0qy37UlmWvR0NnUc)

![Gallery Image](https://lh5.googleusercontent.com/RNyXCX4R7z-Ome6nTicjAyevAjE1G0gS6jzqU1SjWYsyOoTOCmh2wveCeYu7xmSthxVMHnIcIcVZXX37rOvYaL8wLsYHCOsjHm0HfX_4PAxx6w02y8vM-EKIyrln_JGwQfn75Tq8AYAXXAwbJJb1Iqk)

**_La ville du quart dheure en images. Credit:_** [**_Mical_**](https://www.paris.fr/pages/la-ville-du-quart-d-heure-en-images-15849?ref=blog.apify.com) **_._**

If, for example, the city wanted to encourage 15-minute walkability by changing zoning laws or urban planning policy, it would be helpful to have a quantified picture of where walkability is feasible and where it is not.

The challenge, in the end, was to create something both quantitatively sound but also visually accessible and compelling: a relatively complex data visualization.

![15-minute walk zone (isochrone) from the downtown library and grocery shop, overlapping.](https://blog.apify.com/content/images/2023/03/Screenshot-2023-03-20-at-17.53.07.png)

**_15-minute walk zone (isochrone) from the downtown library and grocery shop, overlapping._**

## **⏳ Creating isochrone maps**

Roberts overlapping isochrone approach required creating a list of amenities, scraping their locations, dropping their latitudes and longitudes into mapping software, and defining 15-minute isochrone intersection zones.

After some research, Robert landed on Apifys [Google Maps Scraper](https://apify.com/compass/crawler-google-places?ref=blog.apify.com) to perform text-based searches for and extract geolocation data for groceries, pharmacies, recreational spaces, libraries, museums, theaters, restaurants, pubs, cafes, but also daycares, public schools, foodbanks, and walk-in clinics.

Robert then used QGIS, an open-source mapping tool, to create isochrone maps around amenities and define zones of overlap places one could live and have 15-minute walking access to all the amenities they need.

![](https://blog.apify.com/content/images/2023/03/pubElem-HS-15-2.png)

![](https://blog.apify.com/content/images/2023/03/walkinClin-foodBank-15-3.png)

## 🌳 More research more questions

But the research didnt end at just counting how much time it takes to get from point A to point B. Choosing the list of amenities immediately posed the question of what amenities should be considered essential, what amenities were prerequisite to enjoying a basic quality of life. Not all people have the same needs. Some people need access to food banks and walk-in clinics. Some need access to supportive housing. Others need access to daycare and schools for their children. Different people, then, have different zones where they can live and have 15-minute walking access to everything they need. Certain patterns and new questions emerged from Roberts maps:

**🌳 How widespread and where are specific amenities?** Recreational areas, restaurants, pubs and fast food, for example, are available throughout the city. There are far fewer pharmacies, walk-in clinics, food banks, and supportive housing.

**👨👦 What if a resident has daily caretaking responsibilities?** Daycares are concentrated centrally and to the south, public elementary schools are widespread, while high schools are more sparsely distributed.

💰 **Who can afford to live in 15-minute walkable areas?** Whats the median income level of people living in Nanaimos 15-minute neighborhoods?

![Gallery Image](https://blog.apify.com/content/images/2023/03/Screenshot-2023-03-20-at-17.59.23.png)

![Gallery Image](https://blog.apify.com/content/images/2023/03/total-map.png)

**_Map 1: Essential-basic 15: zone outlines (red for contrast visibility) overlaid on population density map Map 2: Essential and basic quality of life amenities by location, compared to our three general 15: zones_**

## **🤔 Geomapping conclusions**

Some outcomes of Roberts walkability analysis were unsurprising. Survey and WalkScore data already indicated Nanaimo is a car dependent city with low walk, bicycle, and public transit scores. Less immediately obvious, perhaps, is the fact that car dependent cities tend to concentrate amenities in places with low population densities, like malls, meaning that although these zones provide 15-minute walking access to essential amenities, very few people live within 15 minutes walk of them.

{% embed https://www.youtube.com/watch?v=op9MabaZNZo %}

**_Learn how to scrape Google Maps for data visualization project_**

Roberts interest in Morenos 15-minute city concept stemmed partly from his own experience living in various cosmopolitan cities around the world. Clearly, different population densities and histories lead to different attitudes toward public space. Europeans seem to be more accustomed to sharing, investing in, and utilizing public spaces, while North Americans tend to prioritize suburban living and private space. These broader differences may be more difficult to alter in the short term. But cities that are interested in becoming more walkable and convenient should consider zoning to increase residential density near amenities, amenities near residential density, and amenity-residential density in areas lacking both. In other words, they should embrace a more European model of the city, with walking and convenience as the focus.

Roberts research demonstrates the power of quantitative data in understanding and suggesting improvements in the urban environment. His approach could easily be applied in studies of walkable amenity-access in other cities around the world. Roberts hope is that his findings can contribute to a larger conversation between people who care about the future of humans in the built environment.

![Barcelona Superblocks, Source: Mayor EU](https://lh6.googleusercontent.com/dhUu-NvHtKi1wb8h1-iTw7p1S1SEIgz8hqG743CLyWRK1dxLlg-CQdQmx2HdUu0aa0N4Ys9AUxcOIEPjb1Sa2Ww1-oHxHh-1Bk2k2wnNNyUrBo-sFWCREKQ_EAFzoPuEsJXIHVgDSbJ450DYenk_zYs)

**_Barcelona Superblocks, Source:_** [**_Mayor EU_**](https://www.themayor.eu/en/a/view/reclaiming-city-streets-from-cars-barcelona-style-9938?ref=blog.apify.com)