mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-09 11:22:50 +08:00
DOC: Update link location of NYC sample data
This commit is contained in:
@@ -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)
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@ Generate example images for GeoPandas documentation.
|
||||
TODO: autogenerate these from docs themselves
|
||||
|
||||
Kelsey Jordahl
|
||||
Time-stamp: <Sun Jul 7 17:31:12 IST 2013>
|
||||
Time-stamp: <Tue May 6 12:17:29 EDT 2014>
|
||||
"""
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user