Feature request #5117
Make the first column of the Attribute Table show feature ID
|Assigned to:||-||% Done:||
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
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.
Updated by Pirmin Kalberer over 4 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
Updated by Alister Hood over 4 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.
Updated by Médéric RIBREUX over 1 year 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 ?
Updated by Médéric RIBREUX about 1 year ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
- Resolution set to fixed/implemented
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 !
Also available in: Atom