Mapping GeoJSON On Github

By Matt Stiles | | Topics: Social Media

I’ve been hoping to tinker with Github’s new mapping service since the company announced it earlier this month. Turns out it’s quite easy. You just commit a GeoJSON file to your repo, and voilà.

The points on this simple map represents the location of each car2go I’ve rented (excluding those in Austin, Texas). Surprise, they’re mostly clustered in our neighborhood:

car2go locations

This is a simple as it gets. The service also allows other data types, like polygons, for example. Tomorrow I’ll try a more interesting data set, maybe DC property parcels or 311 calls locations. And I’ll experiment with the Github docs to see how I can customize the icons and design. We’ll see…

BTW: Github is using MapBox to create its custom map base layer. Read more about that here. And thanks to my co-worker, Chris Groskopf, whose csvkit suite makes it super easy to convert basic data files into GeoJSON.