Opened 10 years ago
Closed 8 years ago
#2632 closed enhancement (fixed)
option in context menu to export vector attribute table
Reported by: | pvanbosgeo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.2.0 |
Component: | Vector | Version: | unspecified |
Keywords: | Cc: | attribute | |
CPU: | Unspecified | Platform: | Unspecified |
Description
To export a vector attribute table, one can use v.db.select. No problem, except that it isn't terribly intuitive. Especially for new users, having an option to export the attribute table in the context menu (right mouse click) would make this easier to find.
The name should probably something like "export attribute table", while it could open the v.db.select window (or possibly a simplified version of it).
Attachments (2)
Change History (12)
comment:1 by , 9 years ago
Milestone: | 7.0.1 → 7.0.2 |
---|
comment:3 by , 9 years ago
Cc: | added |
---|---|
Component: | Default → Vector |
by , 9 years ago
Attachment: | export_attributes.patch added |
---|
comment:4 by , 9 years ago
Try the attached patch. This gives access to the v.db.select GUI, not a simplified version. An option would be to declare this as "Export attributes to csv file" and make separator=comma the default. Otherwise a wrapper module would be needed which provides most options as defaults, but then leaves less flexibility in terms of output formats.
Personally, I would prefer to just provide the standard v.db.select interface.
by , 9 years ago
Attachment: | v_db_select_simplified_main_tab.patch added |
---|
comment:5 by , 9 years ago
I added a second patch that puts the (IMHO) main options of v.db.select (map, column separator, output file) into a "Main choices" tab. I think this should be enough to make exporting attributes easier, without having to code a separate simplified GUI. Not sure if "Main choices" is the best choice of names for that tab, though. Any better ideas are more than welcome.
comment:9 by , 9 years ago
Milestone: | 7.0.4 → 7.0.5 |
---|
comment:10 by , 8 years ago
Milestone: | 7.0.5 → 7.2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Changing milestone to 7.2 and closing. Feel free to reopen if needed.
Ticket retargeted after 7.0.1 milestone closed