Alex Lockwood
Jul 27, 2017 · 1 min read

Hey Mike, thanks for the awesome tutorial. Just wanted to let you know that I had some trouble downloading the shapefile on my Macbook. I got the following error:

alex:~/blocks/choropleth$ curl ‘http://www2.census.gov/geo/tiger/GENZ2014/shp/cb_2014_06_tract_500k.zip' -o cb_2014_06_tract_500k.zip

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 — : — : — — : — : — — : — : — 0

alex:~/blocks/choropleth$ unzip -o cb_2014_06_tract_500k.zip

Archive: cb_2014_06_tract_500k.zip

End-of-central-directory signature not found. Either this file is not

a zipfile, or it constitutes one disk of a multi-part archive. In the

latter case the central directory and zipfile comment will be found on

the last disk(s) of this archive.

unzip: cannot find zipfile directory in one of cb_2014_06_tract_500k.zip or

cb_2014_06_tract_500k.zip.zip, and cannot find cb_2014_06_tract_500k.zip.ZIP, period.

My workaround was to simply download the zip file using the browser instead of using curl.