[GRASS-dev] v.in.db: even with "where=" option the entire table is copied

Markus Neteler neteler at itc.it
Wed Nov 29 11:56:04 EST 2006


Hi,

I have found a nice bug in v.in.db:
Even when I use a "where=" SQL statement to limit the
number of points fetched from the DB, the entire table
is copied. The module uses db_copy_table() which isn't
appropriate.

v.extract builds a list of cats to copy, then uses
db_copy_table_by_ints(). So far I failed to transfer
this approach to v.in.db.

Help appreciated...
thanks
Markus




More information about the grass-dev mailing list