5

I would like to shift a raster by a specified distance in x and y.

I tried to create a world file, as is suggested here, but neither Raster: Conversion: Translate in QGIS nor GDAL Conversion Translate in the Processing Toolbox created a world file when saved in the suggested formats. How can I shift raster layer for making cloud-shadow mask?

I tried from the Python console, as is suggested below, but I get an error: AttributeError: 'NoneType' object has no attribute 'SetGeoTransform'. I am not familiar with the Python console, so I may be doing something wrong. How to translate (reposition) a .tif raster layer?

The plugin rasmover, which is suggested in several threads, does not appear to exist anymore?

2
  • 2
    Open world file with notepad and shift coordinates by x and y.
    – nagib
    Oct 22 '19 at 19:59
  • Error in newest version of QGIS
    – Jim Garner
    Jun 4 '20 at 6:29
1

I think you can give a try to Freehand raster georeferencer. It is QGIS plugin. You must add raster to QGIS from this plugins toolbar to start working with it and even it's already georeferenced, you can make changes to it.

Sample gif: enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.