Skip to content

Commit 12ee651

Browse files
committed
Modified
1 parent 24fe36a commit 12ee651

3 files changed

Lines changed: 25 additions & 8 deletions

File tree

docs/user_manual/working_with_vector/editing_geometry_attributes.rst

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -879,17 +879,34 @@ QGIS checks the attribute values against the :ref:`constraints <constraints>` de
879879
in the destination layer (for example, ``NOT NULL``, ``Unique``, or expression constraints).
880880
If one or more pasted features contain invalid attribute values that
881881
do not meet these constraints, a dialog will
882-
appear, listing all affected features and fields. You can then either:
882+
appear, listing all affected features and fields.
883+
When pasting a single feature, you can decide whether to:
883884

884-
* Fix the invalid values directly in the dialog before confirming, or
885-
* Choose to ignore the constraint on purpose, allowing QGIS to insert
886-
those features with null or default values.
885+
* Edit the invalid values directly in the dialog. The corrected values will be used when pasting.
886+
* :guilabel:`Paste Anyway`: the feature is pasted as-is, even with invalid values.
887887

888-
When pasting a single feature, the dialog shows simplified options.
889-
For multiple features, all invalid attributes can be reviewed and
890-
corrected in bulk. This ensures that data integrity rules defined in your layer are
891-
respected when copying and pasting between layers.
888+
.. figure:: img/edit_paste_invalid_values_single.png
889+
:align: center
890+
:width: 400px
891+
892+
Dialog for handling invalid attribute values when pasting a single feature
893+
894+
When pasting multiple features, the dialog lists all invalid fields across all
895+
features, allowing bulk review and correction. You can decide per field or
896+
per feature whether to:
897+
898+
* Edit the invalid values directly in the dialog. The corrected values will be used when pasting.
899+
* :guilabel:`Discard All`: no features pasted.
900+
* :guilabel:`Discard All Invalid`: pasted only features with valid attribute values.
901+
* :guilabel:`Paste All (Including Invalid)`: all features are pasted as-is, even with invalid
902+
values.
903+
* :guilabel:`Skip`: skip the specific feature, allowing proceeding with the rest.
904+
905+
.. figure:: img/edit_paste_invalid_values_multiple.png
906+
:align: center
907+
:width: 500px
892908

909+
Dialog for handling invalid attribute values when pasting multiple features
893910

894911
.. _tip_projections_and_pasting:
895912

38.8 KB
Loading
28.6 KB
Loading

0 commit comments

Comments
 (0)