Feature request #5117
Make the first column of the Attribute Table show feature ID
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Easy fix?: | No | Copied to github as #: | 14876 |
Description
Right now, the first column shows a row number that has no link to any geo attribute. When unsorted, this row seems to match the feature id, but if you sort any column, you immediately lose this connection. I believe this is confusing and should be fixed by making the first column show the feature id. The feature ID could then be directly copied when copying selected features to clipboard.
History
#1 Updated by Giovanni Manghi almost 13 years ago
- Tracker changed from Bug report to Feature request
#2 Updated by Giovanni Manghi over 12 years ago
- Target version set to Version 2.0.0
#3 Updated by Pirmin Kalberer about 12 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
#4 Updated by Alister Hood about 12 years ago
Right now, the first column shows a row number that has no link to any geo attribute.
Is this really about the first column, or is it about the row labels? The first column doesn't show a row number for me...
but if you sort any column, you immediately lose this connection.
Also, sorting a large table is very slow, even when using "show selected only", with only a small selection.
Is this because it is spending time renumbering every row? Could the sort be fast if the row labels were the feature ID?
The feature ID could then be directly copied when copying selected features to clipboard.
Wouldn't that be possible anyway? The geometry is copied to the clipboard, even though it isn't shown in the attribute table.
This proposal would also be useful generally - e.g. it would make it easier to work with the "item browser" plugin.
#5 Updated by Alister Hood about 12 years ago
EDIT ABOVE
Sorry - most of that wasn't meant to be a quote.
#6 Updated by Médéric RIBREUX about 9 years ago
- Status changed from Open to Feedback
Hello, bug triage...
I think this is fixed in QGIS 2.13 (and probably in previous versions). Here is what I've found so far:
- open a layer with lots of features.
- add a virtual field named 'ID' and put $id in the expression (returns the feature ID of the feature).
- find that ID field content match "first column" of the attribute table !
To me that means that "first column" of the attribute table is feature ID.
Can someone confirm ?
#7 Updated by Médéric RIBREUX almost 9 years ago
- Resolution set to fixed/implemented
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
Hello, bug triage...
I am closing this feature request for lack of feedback and because it seems to be implemented at least in QGIS master.
Feel free to reopen it if I have missed something !