diff --git a/docs/user_manual/introduction/browser.rst b/docs/user_manual/introduction/browser.rst index 260e18f066b..c25a7f8c25c 100644 --- a/docs/user_manual/introduction/browser.rst +++ b/docs/user_manual/introduction/browser.rst @@ -235,6 +235,15 @@ each level of the dataset tree. | +--------------------------------------------+--------------+--------------+------------+------------+---------------+------------+ | | :guilabel:`Remove Connection` | |checkbox| | |checkbox| | |checkbox| | |checkbox| | |checkbox| | | | +--------------------------------------------+--------------+--------------+------------+------------+---------------+------------+ +| | :menuselection:`New Field Domain --> | | | | | | | +| | New Range Domain` | |checkbox| | | | | | | +| +--------------------------------------------+--------------+--------------+------------+------------+---------------+------------+ +| | :menuselection:`New Field Domain --> | | | | | | | +| | New Coded Values Domain` | |checkbox| | | | | | | +| +--------------------------------------------+--------------+--------------+------------+------------+---------------+------------+ +| | :menuselection:`New Field Domain --> | | | | | | | +| | New Glob Domain` | |checkbox| | | | | | | +| +--------------------------------------------+--------------+--------------+------------+------------+---------------+------------+ | | :guilabel:`Delete ` | |checkbox| | |checkbox| | | | | | | +--------------------------------------------+--------------+--------------+------------+------------+---------------+------------+ | | :guilabel:`Compact Database (VACUUM)` | |checkbox| | | | | | | diff --git a/docs/user_manual/managing_data_source/opening_data.rst b/docs/user_manual/managing_data_source/opening_data.rst index c8cec27eee3..d52645441b4 100644 --- a/docs/user_manual/managing_data_source/opening_data.rst +++ b/docs/user_manual/managing_data_source/opening_data.rst @@ -421,6 +421,19 @@ To load a layer from a file: .. index:: ArcInfo Binary Coverage, Tiger Format, UK National Transfer Format .. index:: US Census Bureau +.. note:: + + When loading vector layers into QGIS, fields with |sourceFields| :guilabel:`Field Domains` + (such as those defined in a GeoPackage or ESRI File Geodatabase) are automatically + detected. These domains are database-level constraints, meaning they are enforced + by the database itself and apply across different applications, not just QGIS. + This differs from the QGIS-only **Value Maps** widget, which is saved within QGIS project styles + and is not enforced outside QGIS. + For coded domains, which are similar to **Value Maps**, there is a set of + predefined valid values. QGIS also supports range domains, enforcing minimum and maximum + value constraints, and glob domains (specific to GeoPackage), which apply different constraints + on the values acceptable in the associated fields. + The |addOgrLayer| :sup:`Add Vector Layer` and |addRasterLayer| :sup:`Add Raster Layer` tabs allow loading of layers from source types other than :guilabel:`File`: @@ -1715,6 +1728,8 @@ to your map. :width: 1.5em .. |setProjection| image:: /static/common/mActionSetProjection.png :width: 1.5em +.. |sourceFields| image:: /static/common/mSourceFields.png + :width: 1.5em .. |spatialite| image:: /static/common/mIconSpatialite.png :width: 1.5em .. |symbologyAdd| image:: /static/common/symbologyAdd.png diff --git a/docs/user_manual/working_with_vector/vector_properties.rst b/docs/user_manual/working_with_vector/vector_properties.rst index 7f3f1fe32bf..c68b17a9bea 100644 --- a/docs/user_manual/working_with_vector/vector_properties.rst +++ b/docs/user_manual/working_with_vector/vector_properties.rst @@ -2608,6 +2608,12 @@ with the field type. The available widgets are: * **Value Map**: A combo box with predefined items. The value is stored in the attribute, the description is shown in the combo box. You can define values manually or load them from a layer or a CSV file. + + .. note:: + + GeoPackage and ESRI File Geodatabase layers with predefined coded **Field Domains** + will be automatically recognized by QGIS and assigned a **Value Map** widget for the relevant fields. + * **Value Relation**: Offers values from a related table in a combobox. You can select layer, key column and value column. Several options are available to change the standard behaviors: allow null value, order by value, allow