Skip to content

Commit 29f043c

Browse files
committed
Replace Github URLs of shapefiles with other victims.
1 parent 7e07752 commit 29f043c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Finally, you can use all of the above methods to read shapefiles directly from t
440440

441441

442442
>>> # from a zipped shapefile on website
443-
>>> sf = shapefile.Reader("https://github.com/JamesParrott/PyShp_test_shapefile/raw/main/gis_osm_natural_a_free_1.zip")
443+
>>> sf = shapefile.Reader("https://geodata.ucdavis.edu/gadm/gadm4.1/shp/gadm41_ATA_shp.zip")
444444

445445
>>> # from a shapefile collection of files in a github repository
446446
>>> sf = shapefile.Reader("https://pubs.usgs.gov/of/2000/of00-006/gisdata/coverage/airports.shp")
@@ -1305,7 +1305,7 @@ of records and complex geometries.
13051305
As an example, let's load this Natural Earth shapefile of more than 4000 global administrative boundary polygons:
13061306

13071307

1308-
>>> sf = shapefile.Reader("https://github.com/nvkelso/natural-earth-vector/blob/master/10m_cultural/ne_10m_admin_1_states_provinces?raw=true")
1308+
>>> sf = shapefile.Reader("https://archive.org/download/ne_10m_admin_1_states_provinces/ne_10m_admin_1_states_provinces.zip")
13091309

13101310
When first creating the Reader class, the library only reads the header information
13111311
and leaves the rest of the file contents alone. Once you call the records() and shapes()

0 commit comments

Comments
 (0)