Turf Exercise

What is this, exactly?

This week, some of my Mapbox colleagues and I launched documentation for Turf, a JavaScript library for GIS in the browser. I want to make sure our documentation makes sense, so I have concocted a series of interesting projects for you to try out, if you're interested! No prior knowledge is necessary, so long as you're excited to jump in and start learning.

"JavaScript? WTF no, I'm out!"

WAIT. I know it can be intimidating to try something new. But notice that one of the projects is "Something cool with Turf." If you've never touched JavaScript before and you're okay trying something new, it would help me a ton if you tried to make something. A great place to start is our How JavaScript & mapping works guide. Or you can check out any of our other guides to get started!

I'd love to get some responses from folks who are just learning. That'd make this whole thing totally awesome!

The Rules

Your Project Options

  1. For a city of your choice: how many land parcels are within one mile of a public park? How many land parcels do not have a public park within a mile? For the ones that do, which park is closest?
  2. For the world: What is the aggregate population of the selected countries? The number should dynamically change as countries are selected.
  3. For any state: Create a map showing only the counties that have more than 100,000 residents.
  4. Create a choropleth map of the United States that shows counties classified by population density. Show both quantiles and jenks data classifications.
  5. For a city of your choice: Create a map to show all of the elementary, middle, and high schools in the city. Allow the user to turn on/off any one group (turn off elementary but show middle and high, etc.)
  6. Something awesome that uses two or more turf functions.

A Puppy

Good luck!

I can't wait to see what you all come up with.