Skip to content

Commit

Permalink
Add policy when "Duplicating features"
Browse files Browse the repository at this point in the history
Fixes qgis#9085
  • Loading branch information
DelazJ committed Jan 6, 2025
1 parent ebf742b commit 82ef20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified docs/user_manual/working_with_vector/img/edit_widgets_dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions docs/user_manual/working_with_vector/vector_properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2639,11 +2639,12 @@ Default values
Policies
^^^^^^^^

:guilabel:`Policies` allows you to determine how values are assigned to the field when :guilabel:`Splitting features`:
:guilabel:`Policies` allows you to determine how values are assigned to the field
when :guilabel:`Splitting features` or :guilabel:`Duplicating features`:

* :guilabel:`Duplicate Values`: Keeps the existing value of the field for the resulting split features.
* :guilabel:`Duplicate Values`: Keeps the existing value of the field for the new features.
* :guilabel:`Use Default Value`: Resets the field by recalculating its :ref:`default value <default_values>`.
If no default value clause exists, the existing value is kept for the resulting split features.
If no default value clause exists, the existing value is kept for the new features.
* :guilabel:`Remove Value`: Clears the field to an unset state.
* :guilabel:`Use Ratio Geometries`: Recalculates the field value for all split portions
by multiplying the existing value by ratio of the split parts lengths or areas.
Expand Down

0 comments on commit 82ef20e

Please sign in to comment.