diff --git a/02-Spaces.qmd b/02-Spaces.qmd index 000d386c..c0faeea1 100644 --- a/02-Spaces.qmd +++ b/02-Spaces.qmd @@ -643,7 +643,8 @@ if isFile: else: r = rio.open("https://cdn.proj.org/uk_os_OSTN15_NTv2_OSGBtoETRS.tif") -gdf = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres')) +url = "https://naciscdn.org/naturalearth/110m/cultural/ne_110m_admin_0_countries.zip" +gdf = gpd.read_file(url) uk = gdf[gdf.name == 'United Kingdom'] uk_transformed = uk.to_crs(r.crs) raster_extent = numpy.asarray(r.bounds)[[0,2,1,3]]