[GRASS-dev] v.in.db should look for file

Martin Landa landa.martin at gmail.com
Sun Mar 1 04:54:44 EST 2009


Hi,

2009/3/1 Michael Barton <michael.barton at asu.edu>:
> So instead of looking for a vector table, it should be looking for a file.
> In main.c (lines 56-58), would this be ...
>
>    table_opt = G_define_standard_option(G_OPT_F_INPUT);
>    table_opt->required = YES;
>    table_opt->description = _("Input table name");
>
> instead of the current...
>
>    table_opt = G_define_standard_option(G_OPT_TABLE);
>    table_opt->required = YES;
>    table_opt->description = _("Input table name");

no, G_OPT_TABLE is right. v.in.db creates new vector (points) map from
database table not fro the file!

M.

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-dev mailing list