From the course: Geospatial Raster Data Analytics in Python

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Create multiband raster data

Create multiband raster data

- [Instructor] This video will teach you how to combine the previously prepared Germany level raster data files. Remember, first, we re-projected both files into the local CRS of Germany and then, using resampling, ensured that their spatial resolutions are aligned. Now, we will learn how to combine them into a double-band raster file containing detailed information on Germany. In this video, we are only going to use libraries that we have used before, so just stick to your usual work environment. After taking care of the imports, we collected the input file names and defined the output file as well using the previous terminologies. I'm just copying from the previous notebook. Here, we will have the reprojected_file1 containing the population data of Germany and the aligned_file2, combining the Germany level elevation in a re-projected and resampled way. Finally, I will call the output file as combined_raster.tif. Now, we read the two files with this elegant one-liner Python code and…

Contents