[QGIS-trac] Re: [Quantum GIS] #1630: v.db.addcol: checkbox for data
type
Quantum GIS
qgis at qgis.org
Mon Apr 27 11:26:37 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):
Did you consider that each database supports different types? So either we
limit the options to VARCHAR, INT, DOUBLE PRECISION/REAL and DATE or we
add more types but user can end up with error even if the type was offered
in the list.
The best solution would be to add a function to all GRASS db drivers to
return list of supported types and write an interface in qgis which will
use those lists according to selected vector/layer (i.e. db). But that
seems to be overkill to me at this moment.
Radim
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1630#comment:1>
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