[GRASS5] db.columns and v.info -c

Markus Neteler neteler at itc.it
Tue Nov 22 09:23:12 EST 2005


On Tue, Nov 22, 2005 at 02:53:43PM +0100, Maciek Sieczka wrote:
> On wto, 2005-11-22 at 10:31 +0100, Radim Blazek wrote:
> > On 11/22/05, Maciek Sieczka <werchowyna at epf.pl> wrote:
> > > Hi
> > >
> > > I'm wondering if functionality of db.columns and v.info -c shouldn't be
> > > merged into one command. Maybe extend db.columns to report types (other
> > > info? say: number of records per column, check if null records
> > > present/absent, number of null records?) and remove "-c" from v.info?
> > >
> > > Maciek
> > 
> > How do you want to merge v. and db. commands?
> 
> Isn't v.info -c an example?

No: it shows the columns of a table *connected* to a
vector map.
But you can have many tables not connected to vector maps
in your database. The v.* commands do not see them, but
the db.* commands do see them.
 
> > One works on vector and the other on table.
> v.info -c works on a table

Yes, but only on a table connected to a certain
vector map.

Markus




More information about the grass-dev mailing list