Skip to main content
6 events
when toggle format what by license comment
Nov 10, 2021 at 10:58 history edited Ben W CC BY-SA 4.0
added 7 characters in body
Nov 10, 2021 at 10:56 comment added Ben W @mshirley, I have updated my answer with a script which uses the QgsMapToolEmitPoint subclass to give you a somewhat visual approach to aligning rasters. I hope it helps you. Let me know how it goes.
Nov 10, 2021 at 10:52 history edited Ben W CC BY-SA 4.0
added 7914 characters in body
Nov 9, 2021 at 17:24 comment added mshirley Thank you very much. This does work to shift the rasters. I ended up writing almost the same code with the only difference being a call to shutil.copyfile() first followed by changing the geotransform on the new file in place. Your method is better, and I'll change my code. To use this solution, I repeatedly loaded and unloaded my rasters, guessing at the offsets and re-running the python code. I'm still hoping for a solution within QGIS that involves dragging the raster in some way that gives immediate feedback as the user matches features visually. That would be much quicker.
Nov 8, 2021 at 12:02 history edited Ben W CC BY-SA 4.0
added 34 characters in body
Nov 8, 2021 at 9:02 history answered Ben W CC BY-SA 4.0