[GRASS-user] Re:Using v.colors in WinGRASS

Martin Landa landa.martin at gmail.com
Tue Nov 9 08:17:50 EST 2010


Hi,

2010/11/9 Luisa Peña <luisapena1979 at gmail.com>:
> I did:v.db.connect -p map=teste04_LULC at Regional and I got:
> layer <1> table <teste04_LULC> in database <E:\v3/LOCAL/Regional/dbf/>
> through driver <dbf> with key <cat>
> Vector map <teste04_LULC at Regional> is connected by:
>
> What does this mean? That I already have a table? Because I haven't created

Yes, just "E:\v3/LOCAL/Regional/dbf/" should be
"E:\v3\LOCAL\Regional\dbf\". It's a bug.

> 3- How can I define a table in order to be used by v.colors?
> v.db.addtable
>
>
> I use sqlite as database, because it consists of only one file (so it is
> easy (for a single user)).
>
> In this case when I run v.db.addtable, I get an error stating "There is
> already a table linked to layer <1>

Yes, you have already a table link to layer <1>. Delete existing table
before you want to add new one by `db.droptable`.

Martin

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


More information about the grass-user mailing list