From d70e2eb34f7b569cf659d6811e2b92e0631f246b Mon Sep 17 00:00:00 2001 From: Selma Vidimlic Husic Date: Fri, 19 Jan 2024 16:36:55 +0100 Subject: [PATCH 1/3] Field properties (comments and alias) update --- .../working_with_vector/vector_properties.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/user_manual/working_with_vector/vector_properties.rst b/docs/user_manual/working_with_vector/vector_properties.rst index 725e6c0bd2e..aaada77a5f4 100644 --- a/docs/user_manual/working_with_vector/vector_properties.rst +++ b/docs/user_manual/working_with_vector/vector_properties.rst @@ -2068,7 +2068,7 @@ fields related to the layer and helps you organize them. The layer can be made :ref:`editable ` using the |toggleEditing| :sup:`Toggle editing mode`. At this moment, you can modify its structure using the |newAttribute| :sup:`New field` and |deleteAttribute| :sup:`Delete field` -buttons. +buttons. You can also rename fields by double-clicking its name. This is only supported for data providers like PostgreSQL, Oracle, Memory layer and some GDAL layers @@ -2077,7 +2077,8 @@ depending on the GDAL version. If set in the underlying data source or in the :ref:`forms properties `, the field's alias is also displayed. An alias is a human readable field name you can use in the feature form or the attribute table. -Aliases are saved in the project file. +Aliases are saved in the project file. Currently supported for OGR formats +with field comment capabilities such as GeoPackage or ESRI File Geodatabase. Other than the fields contained in the dataset, :ref:`virtual fields ` and :ref:`Auxiliary Storage ` included, the @@ -2091,7 +2092,9 @@ its :guilabel:`Type`, :guilabel:`Type name`, :guilabel:`Length` and Depending on the data provider, you can associate a comment with a field, for example at its creation. This information is retrieved and shown in the :guilabel:`Comment` column and is later displayed when hovering over the -field label in a feature form. +field label in a feature form. Currently supported for OGR formats with field +comment capabilities such as GeoPackage, ESRI File Geodatabase, NetCDF, +or Geoparquet, as well as PostgreSQL data sources. Under the :guilabel:`Configuration` column, you can set how the field should behave in certain circumstances: From 86bbc5ca9d3de7f0fef32b4603894c455928c649 Mon Sep 17 00:00:00 2001 From: Selma Vidimlic Husic Date: Tue, 6 Feb 2024 15:21:57 +0100 Subject: [PATCH 2/3] better explanation --- .../img/add_field_comments_aliases.png | Bin 0 -> 12623 bytes .../working_with_vector/vector_properties.rst | 22 +++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 docs/user_manual/working_with_vector/img/add_field_comments_aliases.png diff --git a/docs/user_manual/working_with_vector/img/add_field_comments_aliases.png b/docs/user_manual/working_with_vector/img/add_field_comments_aliases.png new file mode 100644 index 0000000000000000000000000000000000000000..0e964a4da0da8ea7ad57baf7e6e572a6372e7453 GIT binary patch literal 12623 zcmeHtXHZnlw)P;BbIxgq3JgqufguSDIY^Qu3Ij7F$yr1Y6c~b%lnfFS@kNrTfFL<3 zC?Ft6P6A5KS?&gX!};#5`s!5O`|k|3i@m#7ukL<&_3E{ry`v2DHK@qh$w43xm6j&j z2m~Tv11>RAVxVOASvwieK=Qi2mb$drK*4d}VBfIa!6yFsegrqt;%uaWS^@8FA8;)u3X0U+G1{bV%jr8C= z9rdzVcO;;P7WyLn_r!q7-E&e^HPBL3{c}FREHZB=C}=ic;%v1xeywK7wZuCepNsmc zrpEa+TCL1rn7kO3YIQ)Q$DYW@qS5$za5%8e&*4|zq%Z$bN z{7+8IQyW-=Fnu?4tPGFDJ4lOXZ7O=+dn6dXml@EMLqV_PbB2nchZ3_^rZVoHrbWJA>V!iug*nC8Dt&K8GBLg=Ms!DEe%M8^ z7RLciXhOkpRb)uZ`m+wfq@r``4~Y76RJ@KRL)L1pR>(+w7Yd)gv>M|Y5=#(zEoY!? zdDU*jEerJ1VN!c>?}nbuPSTdTMhrK>-I0b?UyY>QJDprMds-=!?-Py?;kI-EO8M>| z2vsXDourRky~Xp4=2G%o%Q^yT>d<#B(D_Ufw8-R^Wn9{IXJl~fLCkk!Msjb1+bZvo}`|K zD$dbKGtdiX9H?(%7kI-?77JEVB$p3B0Sa7kJ{aBrR~I*LRDc5bOfL$!KP{F3^PY+L z+)x0U>lyH>x_jYx5fB7KQd}*-$qxorBV|3(48Lm~jtdW5;zx}DF~7B3gFZJ zQCN37CoJ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WIvcvVDoVtlh{inHPXWT{Yh|F*5;z4(Y z(G!4&#EZ^`PQ0IZuiHP=JQ7xO?y5)kY98sU=)L`nO+(XH90zmTJ-QL;@9F$HG!5ZU z(T`*ML_8t3t(V{A3>@AvWj{|xTk!^ybloS#Dk(zjvduC}C8pG07PRFvg-~oDsZd%Q zS@5Q9LExunIUt^pr3-X0hJdsTV0I|P_Ia_@?`>&ah%P1qY)M#M0L#y_gn#Wk^WY0X(`QZ;WvCY#11=#BN%RHyKZggmb$Z0CT;CsHSTMO zpYm{e6~n#wA@s!Zi2D4*OQG7#aw6Mc>J=7(UT>aNiC`LcpOU5z7cqe}DQE?0H^MhZ zvx10yareOQf(U>IFy(89Kcr`0>_PQQ9=JAd)(DXll@T%N1&<6m=H8$(pR4~QzyV=m zo?GXrH_lH=tE!xv>kbAW`C*~xSD~ioa_DhgF$+jqj z4&ly zm%dL^a0Nc1Cpi5Uz&1jcIN_OOl@fuB<)Mxl_2la7L6vc#e@$OsNeT!FsXR9U zOG!y>oRQO$0`|J^h$q=8=$0X#iCAaz^eow1p4+Ccetl4oIx7g|Q220n|I4E@3mRsf?F$C> sxgP6dGkfy>Hkg%eN%v3v#ZxCFo8;X=qt&#Pr{Ae-sp+FjRBXcj3+VLB^Z)<= literal 0 HcmV?d00001 diff --git a/docs/user_manual/working_with_vector/vector_properties.rst b/docs/user_manual/working_with_vector/vector_properties.rst index aaada77a5f4..5acd7b73f4b 100644 --- a/docs/user_manual/working_with_vector/vector_properties.rst +++ b/docs/user_manual/working_with_vector/vector_properties.rst @@ -2068,7 +2068,20 @@ fields related to the layer and helps you organize them. The layer can be made :ref:`editable ` using the |toggleEditing| :sup:`Toggle editing mode`. At this moment, you can modify its structure using the |newAttribute| :sup:`New field` and |deleteAttribute| :sup:`Delete field` -buttons. +buttons. + +When creating |newAttribute| :sup:`New field`, the :guilabel:`Comment` option is +available only for data sources that allow editing comments (currently PostgreSQL), +preventing QGIS from silently discarding information. You can also set aliases within +:guilabel:`Add Field` dialog, for supported OGR formats +(GeoPackage and ESRI File Database). + +.. _figure_add_field: + +.. figure:: img/add_field_comments_aliases.png + :align: center + + Add Field Dialog You can also rename fields by double-clicking its name. This is only supported for data providers like PostgreSQL, Oracle, Memory layer and some GDAL layers @@ -2077,8 +2090,7 @@ depending on the GDAL version. If set in the underlying data source or in the :ref:`forms properties `, the field's alias is also displayed. An alias is a human readable field name you can use in the feature form or the attribute table. -Aliases are saved in the project file. Currently supported for OGR formats -with field comment capabilities such as GeoPackage or ESRI File Geodatabase. +Aliases are saved in the project file. Other than the fields contained in the dataset, :ref:`virtual fields ` and :ref:`Auxiliary Storage ` included, the @@ -2092,9 +2104,7 @@ its :guilabel:`Type`, :guilabel:`Type name`, :guilabel:`Length` and Depending on the data provider, you can associate a comment with a field, for example at its creation. This information is retrieved and shown in the :guilabel:`Comment` column and is later displayed when hovering over the -field label in a feature form. Currently supported for OGR formats with field -comment capabilities such as GeoPackage, ESRI File Geodatabase, NetCDF, -or Geoparquet, as well as PostgreSQL data sources. +field label in a feature form. Under the :guilabel:`Configuration` column, you can set how the field should behave in certain circumstances: From 0216a0641de9ddbd75fef7e6767add5225d5b8a2 Mon Sep 17 00:00:00 2001 From: selmaVH1 Date: Thu, 8 Feb 2024 18:00:33 +0100 Subject: [PATCH 3/3] fixes for data formats --- docs/user_manual/introduction/browser.rst | 1 + .../working_with_vector/vector_properties.rst | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/user_manual/introduction/browser.rst b/docs/user_manual/introduction/browser.rst index c1c70c50933..3c8fcc87948 100644 --- a/docs/user_manual/introduction/browser.rst +++ b/docs/user_manual/introduction/browser.rst @@ -200,6 +200,7 @@ From the contextual menu of each of these folders or drives, you can: * inspect the :guilabel:`Properties...` or the parent :guilabel:`Directory Properties...` +.. _database_entries: Database entries ................. diff --git a/docs/user_manual/working_with_vector/vector_properties.rst b/docs/user_manual/working_with_vector/vector_properties.rst index 5acd7b73f4b..e97ad292611 100644 --- a/docs/user_manual/working_with_vector/vector_properties.rst +++ b/docs/user_manual/working_with_vector/vector_properties.rst @@ -2071,10 +2071,10 @@ the |newAttribute| :sup:`New field` and |deleteAttribute| :sup:`Delete field` buttons. When creating |newAttribute| :sup:`New field`, the :guilabel:`Comment` option is -available only for data sources that allow editing comments (currently PostgreSQL), -preventing QGIS from silently discarding information. You can also set aliases within -:guilabel:`Add Field` dialog, for supported OGR formats -(GeoPackage and ESRI File Database). +available only for data sources that allow editing comments +(See :ref:`database_entries` for more details). +You can also set aliases within :guilabel:`Add Field` dialog, for supported +OGR formats (GeoPackage and ESRI File Geodatabase). .. _figure_add_field: @@ -2090,7 +2090,7 @@ depending on the GDAL version. If set in the underlying data source or in the :ref:`forms properties `, the field's alias is also displayed. An alias is a human readable field name you can use in the feature form or the attribute table. -Aliases are saved in the project file. +Aliases are saved in the project file. Other than the fields contained in the dataset, :ref:`virtual fields ` and :ref:`Auxiliary Storage ` included, the @@ -2104,7 +2104,7 @@ its :guilabel:`Type`, :guilabel:`Type name`, :guilabel:`Length` and Depending on the data provider, you can associate a comment with a field, for example at its creation. This information is retrieved and shown in the :guilabel:`Comment` column and is later displayed when hovering over the -field label in a feature form. +field label in a feature form. Under the :guilabel:`Configuration` column, you can set how the field should behave in certain circumstances: