Better Programming

Advice for programmers.

Member-only story

GIS Project With Python and GeoPandas

5 min readJan 28, 2022

--

Photo by GeoJango Maps on Unsplash

Preamble

Some background info…I recently signed up to volunteer for Statistics Without Borders, which provide pro bono services in statistics and Data Science.

As a Data Analyst/Scientist with a penchant for environmental responsibility social equity, and sustainability, I felt it would make sense to use my skills for social good. This project was for Chicago400, who campaign on behalf of Chicagoans with past convictions. The goal was to create both static and web maps, outlining banishment zones for Chicagoans with past convictions. I decided to challenge myself and use Python entirely for this project, this way it could be deployed on Github and code shared with others that wanted to do the same.

Additionally, I was hard-pressed to find any Python GIS tutorials that went over all the aspects needed for a complete GIS map. I wanted to provide that for folks that were hoping to break away from being bound to desktop GIS systems.

Now that the formalities are done…let’s get to some code!

Get the Data

The first thing I needed to do was get the data. Chicago has an Open Data Portal (ODP) with tons of freely available information. The…

--

--

Justin Morgan Williams
Justin Morgan Williams

Written by Justin Morgan Williams

Data scientist passionate about the intersectionality of sustainability and data.