BUG: nybb zip file no longer exists. (#373)

* Referencing the new nybb file uploaded to the geopandas repo seems to do the trick
This commit is contained in:
nickwg03
2016-10-28 18:11:27 +02:00
committed by Joris Van den Bossche
parent 46e50fe5a7
commit cc59a58181
+1 -1
View File
@@ -50,7 +50,7 @@ def download_nybb():
full_path_name = os.path.join(PACKAGE_DIR, 'examples', filename)
if not os.path.exists(full_path_name):
with io.open(full_path_name, 'wb') as f:
response = urlopen('http://www1.nyc.gov/assets/planning/download/zip/data-maps/open-data/{0}'.format(filename))
response = urlopen('https://github.com/geopandas/geopandas/files/555970/{0}'.format(filename))
f.write(response.read())
shp_zip_path = None