[QGIS-trac] Re: [Quantum GIS] #1630: v.db.addcol: checkbox for data type

Quantum GIS qgis at qgis.org
Tue Apr 28 04:16:38 EDT 2009


#1630: v.db.addcol: checkbox for data type
----------------------------------------------------+-----------------------
        Reporter:  pcav                             |         Owner:  nobody       
            Type:  enhancement                      |        Status:  new          
        Priority:  minor: annoyance or enhancement  |     Milestone:  Version 1.0.3
       Component:  GRASS                            |       Version:  HEAD         
      Resolution:                                   |      Keywords:               
Platform_version:                                   |      Platform:  All          
        Must_fix:  No                               |   Status_info:  0            
----------------------------------------------------+-----------------------
Comment (by rblazek):

 Ok, GRASS modules support descriptions for each possible value, so we can
 show in combobox something like:
 int (All drivers)
 varchar (All drivers)
 datetime (Postgres, MySQL, Sqlite)
 etc.

 But that is not very user friendly I think. My original idea with GRASS
 plugin was to add only the modules which are supported well in GUI.

 We forgot also that various types can have additional parameters, e.g.
 NUMERIC(precision, scale), varchar(n), so it becomes realy messy because
 (with simple interface based on module description) we have to add also 2
 numeric input options which usually becomes empty.

 Please read olso my comments for #1631. I realy suggest to 'Add column' as
 QGIS new feature supported by all drivers.

 Radim

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1630#comment:3>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list