Skip to content

SAGA Removal & TM Update: Module 18 (Lesson 18.1-18.9) - #11264

Open
hefniraera wants to merge 1 commit into
qgis:masterfrom
hefniraera:tm-saga-removal-1
Open

hefniraera wants to merge 1 commit into
qgis:masterfrom
hefniraera:tm-saga-removal-1

Conversation

@hefniraera

@hefniraera hefniraera commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

IN PROGRESS....

Mainly, the Linux part needs to be double-checkd. Will do later...

Goal:

Ticket(s): #

  • Backport to LTR documentation is requested

@DelazJ DelazJ left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hefniraera for taking on this big challenge.
I think it is however too big to get done in a single PR. Here is a fast and unfinished review and you will notice that there are some comments on paragraphs or texts you didn't touch. This chapter is at best QGIS 2 compatible and some of QGIS Processing "concepts" (may) have changed in the meantime, so they should be adjusted/double-checked. Let's then update the lessons incrementally and correctly. I would thus suggest to:

  1. Split the PR into smaller and self-contained ones, let's say one lesson per PR (or two if they are really connected or too small)
  2. In each lesson, turn the instructions into steps, using a numbered listing
  3. In each lesson, test the instructions we provide. E.g., having played recently with GRASS, I can say that the SAGA --> GRASS replacement looks really wrong and untested.
  4. There shouldn't remain screenshots from the QGIS 2 era. And considering that the next release will now be QGIS 4.4 LTR, and that version introduced some changes to algorithms dialog help area, I would suggest we use master to update the images so that it gets visually aligned with what users will get.

Hope that provides some guidance on how to handle training lessons update. And yes, IMHO this is the most time-consuming operation in docs writing. So, start with lessons you are the most comfortable with.

Comment on lines 12 to 15
* If there are input layers, it will use the CRS of the first layer. This is
assumed to be the CRS of all input layers, since they should have the same one.
If you use layers with unmatching CRS's, QGIS will warn you about it. Notice that
the CRS of input layers is shown along with its name in the parameters dialog.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still true? Have you tested it?



.. note:: In this lesson we will discuss how Processing uses CRSs.
We will also see a very useful algorithm: reprojecting.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no alg named "Reprojecting", right? Or do I misunderstand the sentence?

contains a specific CRS field (as it happened in the last lesson with the
graticule algorithm)

Open the project corresponding to this lesson and you will see two layers named

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the project corresponding to the lesson? Afaict, it is not mentioned in the lines above. Can you point to it, please? Moreover, can you turn instructions into numbered list, please?

@@ -43,19 +46,21 @@
The other parameter of the algorithm allows to set how the algorithm uses
coordinates to calculate the new value that it will add to the resulting
layers. Most algorithms do not have an option like that, and just use the

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
layers. Most algorithms do not have an option like that, and just use the
layer. Most algorithms do not have an option like that, and just use the

One output, right?

You should get a new layer with exactly the same points as the other two layers.
If you right click on the name of the layer and open its properties, you will
see that it shares the same CRS of the input layer, that is, EPSG:4326.
see that it shares the same CRS of the input layer, that is, ``EPSG:4326``.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add somewhere in the previous lines instructions to select that specific layer (for the first parameter)?
And generally speaking, I very much prefer we write the instructions people should follow than expect they rely on the algorithm screenshot. This makes instructions clearer IMHO and is also useful for visually impaired people that may rely on tools that read texts.

Comment on lines 48 to 51
as with any other algorithm. Since we are using the simplified interface,
you do not know which algorithms are based on SAGA or in another external
you do not know which algorithms are based on GRASS or in another external
application, but if you happen to double--click on one of them and the
corresponding application is not installed, you will see something like this.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not remember what the simplified toolbox looked at, but this paragraph looks quite outdated/wrong to me. AFAICT The provider of an alg is always shown in the tree hierarchy.

Comment on lines +47 to 58
Once GRASS is installed, you can launch a GRASS algorithm double clicking on its name,
as with any other algorithm. Since we are using the simplified interface,
you do not know which algorithms are based on SAGA or in another external
you do not know which algorithms are based on GRASS or in another external
application, but if you happen to double--click on one of them and the
corresponding application is not installed, you will see something like this.

.. figure:: img/first_saga_alg/missing_saga.png
.. figure:: img/first_GRASS_alg/missing_GRASS.png
:align: center
:width: 50%

In our case, and assuming that SAGA is correctly installed and configured,
In our case, and assuming that GRASS is correctly installed and configured,
you should not see this window, and you will get to the parameters dialog instead.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole block looks weird to me. I would suggest to drop situations where things do not work and assume that people have done things the way we instructed earlier, and THAT WORKS!

you should not see this window, and you will get to the parameters dialog instead.

Let's try with a SAGA--based algorithm, the one called *Split shapes layer randomly*.
Let's try with a GRASS--based algorithm, the one called *Split shapes layer randomly*.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This alg does NOT exist

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to be proven wrong but it looks more like a search and replace SAGA by GRASS in this page... These are two REALLY different tools and can't be replaced this way.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a GRASS alg I think.
And can you lowercase folder name, please?

@hefniraera

Copy link
Copy Markdown
Collaborator Author

Hi, @DelazJ Thank you very much for the detailed review. I'm aware there are plenty of details that can easily get missed during updates. I had a hard time keeping each lesson in sync. I was also unsure whether I should retain the existing writing style or come up witrh a more polished one, which could have created significant differences. However, your review has clarified everything. I'm happy to fix it 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants