Changing pixel size
From AWF-Wiki
(Difference between revisions)
(10 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | Often we need to change the pixel size (or spatial resolution) of a raster layer without changing the extent. The result of '''Up-sampling''' (or '''downscaling''') are smaller pixels the result of '''Down-sampling''' (or '''upscaling''') are larger pixels | + | Often we need to change the pixel size (or spatial resolution) of a raster layer without changing the extent. The result of '''Up-sampling''' (or '''downscaling''') are smaller pixels the result of '''Down-sampling''' (or '''upscaling''') are larger pixels. |
− | # Click the {{button|text=Add raster layer}} [[Image:QGIS_2.0_addrast.png|20px]] and select a single | + | # Click the {{button|text=Add raster layer}} [[Image:QGIS_2.0_addrast.png|20px]] and select a '''single''' band raster file with a spatial resolution (pixel size) of 10m. |
− | + | # In the processing toolbar, type {{typed|text=Resampling}} into the search field to find the {{button|text=SAGA --> Raster Tools --> Resampling}} tool. Open it with a double click. | |
− | # In the processing toolbar, type {{typed|text= | + | # For producing larger pixels (100m) we use settings as shown in the screenshot below: |
− | # For producing | + | [[File:Qgis_downscaling.png|600px]] Click {{button|text=Run}}. |
− | [[File: | + | # The temporary OUTPUT file may be saved on disk with right click on OUTPUT, {{mitem|text=Export --> Save as...}} |
− | Click {{button|text=Run}}. | + | |
− | # | + | |
− | + | ||
− | + | ||
[[Category:Working with Raster Data]] | [[Category:Working with Raster Data]] |
Latest revision as of 12:26, 2 November 2020
Often we need to change the pixel size (or spatial resolution) of a raster layer without changing the extent. The result of Up-sampling (or downscaling) are smaller pixels the result of Down-sampling (or upscaling) are larger pixels.
- Click the Add raster layer and select a single band raster file with a spatial resolution (pixel size) of 10m.
- In the processing toolbar, type Resampling into the search field to find the SAGA --> Raster Tools --> Resampling tool. Open it with a double click.
- For producing larger pixels (100m) we use settings as shown in the screenshot below:
- The temporary OUTPUT file may be saved on disk with right click on OUTPUT, Export --> Save as...