From 65b1211d04d4914bf90eabc98cb01a0670a4665d Mon Sep 17 00:00:00 2001 From: Mathis Lamarre <32335474+Matlmr@users.noreply.github.com> Date: Thu, 3 Oct 2019 16:38:35 +0200 Subject: [PATCH] Update clipping-raster.rst The function name is "parse", not "parser" so the current version raises an error. --- source/lessons/L6/clipping-raster.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lessons/L6/clipping-raster.rst b/source/lessons/L6/clipping-raster.rst index f9d93ac..f30b010 100644 --- a/source/lessons/L6/clipping-raster.rst +++ b/source/lessons/L6/clipping-raster.rst @@ -119,7 +119,7 @@ Okey, so rasterio wants to have the coordinates of the Polygon in this kind of f "height": out_img.shape[1], "width": out_img.shape[2], "transform": out_transform, - "crs": pycrs.parser.from_epsg_code(epsg_code).to_proj4()} + "crs": pycrs.parse.from_epsg_code(epsg_code).to_proj4()} ) - Finally, we can save the clipped raster to disk with following command.