Turf for local gov: potholes and parking meters

Mapbox
maps for developers
2 min readJan 16, 2015

By Lyzi Diamond

In an ideal world, data and visualizations inform decisionmaking. State and local government agencies rely on GIS, but technology, training, and funding can be barriers to broad adoption.

Turf is part of Mapbox’s effort to make powerful mapping and GIS tools more accessible. As a plugin to the Mapbox platform, Turf makes it easy to run complex spatial analyses in the browser and build a beautiful map to communicate the results.

Let’s check out an example of how the San Francisco city government could use Turf and Mapbox to better target city services.

Like many cities, San Francisco runs a 311 hotline for non-emergencies: everything from noisy neighbors to potholes to broken parking meters. We can use Turf to quickly calculate the number of 311 calls by neighborhood for a single week and see the top-five call topics for each neighborhood.

Click on a neighborhood to zoom to it, then overlay the 311 calls with the checkbox.

Full Screen

What’s going on under the hood?

  • We grab SF311 data from the past seven days via DataSF (changes every minute, but roughly 4,000 data points)
  • Turf calculates the number of calls per neighborhood
  • Turf classifies and styles the data on the map
  • Turf picks out the top five call categories per neighborhood

Mapbox has a dream that any citizen or civil servant can build a map, conduct spatial analyses, and show off the results quickly and beautifully to keep state and local governments efficient and accountable. A dream that one day maps and web applications will replace spreadsheets and email attachments.

Got an idea for using Mapbox tools to improve your neighborhood or city? Hit me up on Twitter @lyzidiamond or at lyzi@mapbox.com.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Written by Mapbox

mapping tools for developers + precise location data to change the way we explore the world

No responses yet

Write a response