Skip to content

Commit a5c4172

Browse files
committed
Modified
1 parent e975f8c commit a5c4172

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

docs/user_manual/introduction/browser.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -428,14 +428,6 @@ each level of the dataset tree.
428428
such as ESRI File Geodatabase, FlatGeobuf, GeoParquet, NetCDF, ... when compatible.
429429
.. [2] For PostgreSQL connections: only supported with ALTER TABLE privilege.
430430
431-
.. note::
432-
433-
When loading vector layers into QGIS, fields with |sourceFields| :guilabel:`Field Domains`
434-
(such as those defined in a GeoPackage or ESRI File Geodatabase) are automatically
435-
detected. These domains are database-level constraints, meaning they are enforced
436-
by the database itself and apply across different applications, not just QGIS.
437-
You can edit and delete these domains by right-clicking on the field domain entry.
438-
439431
Importing vector layers into databases using Browser panel
440432
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
441433

docs/user_manual/managing_data_source/supported_data.rst

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -661,30 +661,27 @@ Field domain
661661
Field domains are rules that define acceptable values for a field in a database table.
662662
This is applicable when working with data sources that support field domains,
663663
such as GeoPackage and ESRI File Geodatabase.
664-
The following options are available:
664+
Field domains can be managed from the contextual menu of a field in the :guilabel:`Browser` panel.
665+
The following types are available:
665666

666-
* :guilabel:`New Range Domain...`: create a new range domain to restrict field values
667+
* :guilabel:`New Range Domain...`: creates a new domain to restrict field values
667668
to a specified numeric range.
668-
* :guilabel:`New Coded Values Domain...`: create a new coded values domain to
669+
* :guilabel:`New Coded Values Domain...`: creates a new domain to
669670
restrict field values to a predefined list of acceptable values.
670-
* :guilabel:`New Glob Domain...`: create a new glob domain to restrict field values
671-
based on pattern matching using wildcard characters.
671+
* :guilabel:`New Glob Domain...`: creates a new domain to restrict field values
672+
to matching a regular expression pattern.
672673

673-
More details on each selected option are provided below:
674+
When creating a field domain, following options are provided in the dialog:
674675

675676
* :guilabel:`Name`: set the name of the new field domain.
676677
* :guilabel:`Description`: provide a description for the new field domain.
677678
* :guilabel:`Field type`: select the data type of the field domain
678679
(e.g., Boolean, Text, Integer, Decimal).
679-
* Here are two available :guilabel:`Policies`:
680+
* Additional :ref:`Policies <policies>`, only available for ESRI File Geodatabase format:
680681

681682
* :guilabel:`Split policy`
682683
* :guilabel:`Merge policy`
683684

684-
.. note::
685-
Split and merge policies are only supported by the FileGDB driver.
686-
They are not stored for formats such as GeoPackage.
687-
688685
* Under :guilabel:`Range`, you can set the following options:
689686

690687
* :guilabel:`Minimum`: set the minimum acceptable value for the field.
@@ -697,7 +694,14 @@ More details on each selected option are provided below:
697694

698695
Update and delete field domains by selecting the desired domain from the list and
699696
right-clicking to access the context menu options.
697+
You can also view the details of the domain assigned to a field.
698+
699+
.. note::
700700

701+
When loading vector layers into QGIS, fields with |sourceFields| :guilabel:`Field Domains`
702+
(such as those defined in a GeoPackage or ESRI File Geodatabase) are automatically
703+
detected. These domains are database-level constraints, meaning they are enforced
704+
by the database itself and apply across different applications, not just QGIS.
701705

702706
.. index:: PostgreSQL; PostGIS; ST_Shift_Longitude
703707

@@ -769,6 +773,8 @@ and a -180..180° representation of a 0..360° data.
769773
:width: 1em
770774
.. |setProjection| image:: /static/common/mActionSetProjection.png
771775
:width: 1.5em
776+
.. |sourceFields| image:: /static/common/mSourceFields.png
777+
:width: 1.5em
772778
.. |symbologyAdd| image:: /static/common/symbologyAdd.png
773779
:width: 1.5em
774780
.. |symbologyRemove| image:: /static/common/symbologyRemove.png

0 commit comments

Comments
 (0)