Opened 16 years ago
Closed 13 years ago
#287 closed defect (fixed)
vdigit: don't force 'cat' as the key column name
Reported by: | msieczka | Owned by: | martinl |
---|---|---|---|
Priority: | minor | Milestone: | 6.4.3 |
Component: | Default | Version: | svn-develbranch6 |
Keywords: | Cc: | grass-dev@… | |
CPU: | All | Platform: | All |
Description
When a new vector map is created in vdigit, it forces 'cat' as the key column name. This is not really bad, and very common in other GRASS modules, but I think it should be possible to specify a custom key column name in any module that creates a vector map with a linked table.
Change History (8)
follow-up: 2 comment:1 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
follow-up: 3 comment:2 by , 16 years ago
Component: | wxGUI → default |
---|
Replying to martinl:
You can change default key column in GUI Preferences ("Attributes" tab).
Cool, but that's not the same thing. I mean, that, ideally, the key column setting should be adjustable ad command run time, too (this issue is not limited to vdigit actually).
follow-up: 4 comment:3 by , 16 years ago
Replying to msieczka:
Cool, but that's not the same thing. I mean, that, ideally, the key column setting should be adjustable ad command run time, too (this issue is not limited to vdigit actually).
Not only vdigit, also creating vector map layer from main menu ('Vector->Develop vector map->Create new vector map').
Do you mean to use GIS/environment variable like GRASS_KEY_COLUMN ?
follow-up: 5 comment:4 by , 16 years ago
Replying to martinl:
Replying to msieczka:
Cool, but that's not the same thing. I mean, that, ideally, the key column setting should be adjustable ad command run time, too (this issue is not limited to vdigit actually).
Not only vdigit, also creating vector map layer from main menu ('Vector->Develop vector map->Create new vector map').
I know.
Do you mean to use GIS/environment variable like GRASS_KEY_COLUMN ?
Oh, it would be usefull for sure, but that's not exactly what I meant. I meant that each command that creates a vector map with a linked table should allow for specifying the key column name at it's runtime. Having such functionality *and* a global variable for a default, would be optimal.
follow-up: 7 comment:5 by , 13 years ago
Replying to msieczka:
Oh, it would be usefull for sure, but that's not exactly what I meant. I meant that each command that creates a vector map with a linked table should allow for specifying the key column name at it's runtime. Having such functionality *and* a global variable for a default, would be optimal.
comment:6 by , 13 years ago
Milestone: | 6.4.0 → 6.4.3 |
---|
comment:7 by , 13 years ago
Replying to martinl:
Replying to msieczka:
Oh, it would be usefull for sure, but that's not exactly what I meant. I meant that each command that creates a vector map with a linked table should allow for specifying the key column name at it's runtime. Having such functionality *and* a global variable for a default, would be optimal.
Note that it affects only creating new vector maps dialog.
comment:8 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
You can change default key column in GUI Preferences ("Attributes" tab).