From the course: Geospatial Raster Data Analytics in Python

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Reprojecting raster data

Reprojecting raster data

- [Instructor] In the geospatial data analytics essential training, we explored the concept of coordinate reference systems shortly, CRS, which encode the mathematical rules of how to map the three-dimensional globe onto two dimensional surfaces, such as maps and computer screens. CRS is a great technological framework to adapt and align spatial datasets to various specific locations by using the process called reprojection. In this video, we will learn how to do reprojection on raster data by reprojecting the previously prepared Germany level population and elevation raster files from their default global CRS to the local CRS of Germany. First, we import the usual rasterio library, and from the rasterio library, we will need two further functions, which we'll learn later on how we can utilize. (keyboard clicking) Now let's define the two input raster files, which are the files we previously prepared. Now we shall read these two files, and since they are single-banded raster files, we…

Contents