How I installed GDAL on a Mac (El Capitan)

I work with a lot of geospatial data, and I depend on a system installation of GDAL. GDAL lets me open geo-referenced TIF images, and it’s a dependency for a lot of python packages like Shapely and GeoPandas. If all I needed to do was use GDAL in python, I could try to install it through Anadona by running

conda install -c geopandas=0.2.1

(note: this package was not compatible with python 3.6 when I tried it, so you might need to create a virtual environment with 3.5), but I also like to use some of GDAL’s command like tools like gdalinfo and So I had to suffer through a system-wide install for mac, which is a challenge.

Read More

Scraping the search box on IMDB with Selenium

IMDB has an awesome auto-complete search box. Type some words in it, and it immediately shows you a list of movies that match your search. I wanted to see which movies I could find on IMDB without actually loading each page, so I decided to scrape information right out of the search box.

Read More

Tutorial - How to open Terminal in a folder from OSX

This post will show you how to create a feature in OSX where you right click on a file, and it opens a Terminal in the containing folder. After some searching, I found out that you can do this with Automator. I found instructions here but they were out of date and some of the relevant pieces of Automator have changed. So I wrote an updated version.

Read More

Untangling the AT

My goal is to locate people on the AT, so the first thing I need is a good map of the AT.  Fortunately, the Appalachian Trail Conservancy (ATC) maintains GIS data describing the path of the AT and makes it available on its website.  I was hoping to get started by downloading the GIS data, and then converting it to a format that I can use more easily.  However, I found out that that wasn’t going to be straight forward.

Read More