qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.52k stars 2.99k forks source link

Switch between raw field values and displayed values in the attribute table #29109

Open qgib opened 5 years ago

qgib commented 5 years ago

Author Name: Lukas Wischounig (Lukas Wischounig) Original Redmine Issue: 21291

Redmine category:attribute_table


When working with the attribute forms value map or value relation i have found no way to switch between raw field values and displayed values in the attribute table (neither in the project properties nor in the program options). It would be useful to add such a functionality in the attribute table viewer.


qgib commented 5 years ago

Author Name: Gerhard Spieles (Gerhard Spieles)


In the attribute table are two symbols in the right down corner. Here you can switch between form and raw. Jpg with form view is attached.



qgib commented 5 years ago

Author Name: Lukas Wischounig (Lukas Wischounig)


Thank you Gerhard for your reply. Unfortunately this switch does not change the behavour of the attribute table as expected - nothing changes, the displayed values are also displayed in this view.

qgib commented 5 years ago

Author Name: Gerhard Spieles (Gerhard Spieles)


Never had a problem with this feature. A pdf with steps to to got the form view is attached.



qgib commented 5 years ago

Author Name: Lukas Wischounig (Lukas Wischounig)


Hi Gerhard, obviously i didn't explain the issue detailed enough. Please see attached PDF.



qgib commented 5 years ago

Author Name: Giovanni Manghi (@gioman)


Gerhard Spieles wrote:

Never had a problem with this feature. A pdf with steps to to got the form view is attached.

the issue is not about the "form view", but about the ability to show the content of the "value" column instead of "display" when using the value map edit widget.

qgib commented 5 years ago

Author Name: Gerhard Spieles (Gerhard Spieles)


I think, the programmers has done this work good. Edit data in the raw sight of the attribute table is fast and a normaly work. Then it is good, you have the dropdown menue for data input also in this sight.

Using value relation instead od value map can solve your problem. create a non-geometrietable in your db or as xlsx or csv and load as layer. Connfigure the behaviour in value relation. Join the layer (It is a 1:1 relation). Then you have all fields from both layers available in forms, attribute table and labeling. Pdf is attached.



qgib commented 5 years ago

Author Name: Lukas Wischounig (Lukas Wischounig)


I have never denied the good work of the programmers - this is a question of data handling and ergonomy. I think its just a petty when one can't see the raw values in the attribut table. Respectively your answer: This is a workaround for small attribute tables, i am currently working on a project where an attribute table has 25 fields - you would get insane within 2 minutes!