[GRASS5] v.db.updatecol & v.db.addcol - draft version 2

Radim Blazek blazek at itc.it
Mon May 30 04:32:12 EDT 2005


Moritz Lennert wrote:
> Yes, I thought this as well in the beginning, but as Radim confirmed, each
> database backend supports different types of data, so it would be either very
> limiting (just show some basic data types supported by all backends) or very
> complicated (make a list of data types with a note on which backend supports
> them or not...).

It is also practical in scripts to add more columns in one command.

> What do others think ?
> 
> Which data types are common to all backends ?

Very few, AFAIK.

>>It's not need for me to add many columns in one commands (or you can
>>repeat "name of new column" box and "type of the new column" list
>>more times - 2 or 3)
> 
> 
> I guess its about finding the compromise between "newbie-friendly" and flexible.

User friendly interface should be done on GUI level I think. You can 
write TclTk version of v.db.addcol which will change combo box with 
types according to selected driver, but it needs some programming.

Radim


> Feedback very welcome.
> 
> Moritz
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list