File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
13051305As 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
13101310When first creating the Reader class, the library only reads the header information
13111311and leaves the rest of the file contents alone. Once you call the records() and shapes()
You can’t perform that action at this time.
0 commit comments