Skip to content

Commit

Permalink
Merge pull request #8795 from selmaVH1/NewFieldDialog
Browse files Browse the repository at this point in the history
Field properties (comments and alias) update
  • Loading branch information
selmaVH1 authored Feb 16, 2024
2 parents 19adfe3 + 0216a06 commit e97e713
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/user_manual/introduction/browser.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
.................
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/user_manual/working_with_vector/vector_properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2070,6 +2070,19 @@ The layer can be made :ref:`editable <editingvector>` using the |toggleEditing|
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
(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:

.. 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
depending on the GDAL version.
Expand Down

0 comments on commit e97e713

Please sign in to comment.