From 91793642829bcefc6431e09c2799cfbb00fcf4d1 Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Tue, 6 May 2014 12:17:57 -0400 Subject: [PATCH] DOC: Update link location of NYC sample data --- README.md | 2 +- doc/source/user.rst | 2 +- examples/nyc_boros.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4f42d61..5f006c1 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ GeoPandas objects also know how to plot themselves. GeoPandas uses [descartes]( >>> g.plot() -GeoPandas also implements alternate constructors that can read any data format recognized by [fiona](http://toblerity.github.io/fiona). To read a [file containing the boroughs of New York City](http://www.nyc.gov/html/dcp/download/bytes/nybb_13a.zip): +GeoPandas also implements alternate constructors that can read any data format recognized by [fiona](http://toblerity.github.io/fiona). To read a [file containing the boroughs of New York City](http://www.nyc.gov/html/dcp/download/bytes/nybb_14aav.zip): >>> boros = GeoDataFrame.from_file('nybb.shp') >>> boros.set_index('BoroCode', inplace=True) diff --git a/doc/source/user.rst b/doc/source/user.rst index 5bfddda..e5c27e2 100644 --- a/doc/source/user.rst +++ b/doc/source/user.rst @@ -480,7 +480,7 @@ borough that are in the holes: .. _matplotlib: http://matplotlib.org .. _fiona: http://toblerity.github.io/fiona .. _geopy: https://github.com/geopy/geopy -.. _file containing the boroughs of New York City: http://www.nyc.gov/html/dcp/download/bytes/nybb_13a.zip +.. _file containing the boroughs of New York City: http://www.nyc.gov/html/dcp/download/bytes/nybb_14aav.zip .. toctree:: :maxdepth: 2 diff --git a/examples/nyc_boros.py b/examples/nyc_boros.py index e2ebc14..6db6ec5 100644 --- a/examples/nyc_boros.py +++ b/examples/nyc_boros.py @@ -4,7 +4,7 @@ Generate example images for GeoPandas documentation. TODO: autogenerate these from docs themselves Kelsey Jordahl -Time-stamp: +Time-stamp: """ import numpy as np import matplotlib.pyplot as plt @@ -14,7 +14,7 @@ from geopandas import GeoSeries, GeoDataFrame np.random.seed(1) DPI = 100 -# http://www.nyc.gov/html/dcp/download/bytes/nybb_13a.zip +# http://www.nyc.gov/html/dcp/download/bytes/nybb_14aav.zip boros = GeoDataFrame.from_file('nybb.shp') boros.set_index('BoroCode', inplace=True) boros.sort()