[GRASS-dev] [GRASS GIS] #391: SQLite driver doesn't complain
enough with stupid mistakes
Markus Neteler
neteler.osgeo at gmail.com
Mon Dec 8 14:19:57 EST 2008
GRASS GIS wrote:
> G64:spearf> g.copy vect=archsites,tmp_arch
> G64:spearf> v.db.addcol tmp_arch column='x double y double'
"columns" is a STRING, so in theory there are (other) cases that more than
two parameters can be listed, e.g. the SQL statements.
Question: could we add in the parser something like
opt->pairanswer = YES|NO,
and enforce pairs in case of YES? This would be useful as well
for east_north coordinates and such. Default NULL/NO for compatibility.
?
Dunno if we can change the struct (yet another API change?),
Markus
More information about the grass-dev
mailing list