2

I am trying to use the Align Rasters tool from QGIS and it is failing to create temporary layers. Is it possible to specify output layers? I tried this on QGIS version: 3.38.3-Grenoble.

Please see tool GUI here:

Parameters

Algorithm Settings

Batch Process

asked Oct 18, 2024 at 14:35
1
  • 1
    I tried to use the raster align tool with QGIS version: 3.39.0-Master and it fails for me too. By the command log it looks like the output file is not defined at all. The tool does not create any name for the temporary layer, and there is no way how user could set the name manually. Feels like a dead-end and a bug in QGIS. Commented Oct 18, 2024 at 19:25

1 Answer 1

3

Click the ellipsis button ... to select the input rasters.

enter image description here

Highlight an input raster and click Configure Raster...

enter image description here

There you can configure the output file. Do this for each of the input rasters.

enter image description here

answered Oct 19, 2024 at 11:01
2
  • 1
    That does work indeed. But it is very odd to configure the output layer with a menu item "Input layers". Especially because user can now select the input layer without going to Configure raster, and then the process will fail. It should be mandatory to configure the output layer, or then the process should create a temporary layer automatically. Commented Oct 19, 2024 at 20:02
  • 1
    @user30184, this has been reported and discussed on QGIS GitHub issues here and here. There are also a couple of stale PRs github.com/qgis/QGIS/pull/57127 & github.com/qgis/QGIS/pull/57143 based on adding details to the help string and tool tips. I have just submitted a new PR re-implementing the checkParameterValues() method which would block the alg execution and show user a message if output files are not configured for any input rasters. Commented Oct 21, 2024 at 4:08

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.