How to reproject single and multiple rasters with Python and Rasterio - Tutorial

preview_player
Показать описание
Raster reprojection is a common task on GIS analysis however to do it with only Python commands have some challenges. We have done an applied example of raster reprojection for single and multiple rasters from WGS 84 UTM to WGS 84 Geographic. The codes work on monoband and multiband rasters and can reproject from to any projection by specifiyin it EPSG code.

Input data
You can download the input data from this link:
Рекомендации по теме
Комментарии
Автор

it's really really good, thank you

muhammadbudid
Автор

I tried this method but it is showing error that 'The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed'.
The src data has crs as none.

arnabpaul
Автор

Do we always need to save the reprojected/resampled raster into a file? I have a very large number of .tif files that I want to reproject/resample in python but I don't want to save them into new files. I only want to use their reprojected/resampled versions in python to do some mathematical operations with them and then only save a .csv file with the result of those operations. How could I do that?

camilaabe
join shbcf.ru