Skip to content

Commit

Permalink
Replace @rownum with @row_number variable
Browse files Browse the repository at this point in the history
Fixes #9112
  • Loading branch information
DelazJ committed May 20, 2024
1 parent 8aae0ff commit bf7d6df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/training_manual/forestry/forest_maps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ field with some remarks for the field teams to have into account:
#. Enable editing.
#. Use the |calculateField| calculator to create and populate the following two fields.
#. Create a field named ``Zone`` of type :guilabel:`Whole number (integer)`.
#. In the :guilabel:`Expression` box write/copy/construct ``$rownum``.
#. In the :guilabel:`Expression` box write/copy/construct ``@row_number``.
#. Create another field named ``Remarks``, of type :guilabel:`Text (string)` and
a width of ``255``.
#. In the :guilabel:`Expression` box write ``'No remarks.'``. This will set
Expand Down
5 changes: 2 additions & 3 deletions docs/training_manual/forestry/systematic_sampling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,9 @@ You can create a new column for the ``systematic_plots_clip`` layer:
#. Enter ``Plot_id`` as :guilabel:`Output field name`
#. Set the :guilabel:`Output field type` to :guilabel:`Text (string)`.
#. In the :guilabel:`Expression` field, write, copy or construct this formula
``concat('P_', @rownum )``. Remember that you can also double click on the
``concat('P_', @row_number )``. Remember that you can also double click on the
elements inside the :guilabel:`Function list`. The ``concat`` function can
be found under :guilabel:`String` and ``@rownum`` is under the :guilabel:`Variables
and values` group.
be found under :guilabel:`String` and ``@row_number`` is under the :guilabel:`Variables` group.
#. Click :guilabel:`OK`.
#. Disable the edit mode and save your changes.

Expand Down

0 comments on commit bf7d6df

Please sign in to comment.