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


```
Hi: 
```

```
>v.db.connect -p map=your_map

```

```
I did:v.db.connect -p map=teste04_LULC@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@Regional> is connected by:
```

```
What does this mean? That I already have a table? Because I haven't created
```

```
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>
```

```
THis is getting a bit desesperate...
```

```
Thanks Achim for your support
```

```

```

Hi,

2010/11/9 Luisa Peña <luisapena1979@gmail.com>:

I did:v.db.connect -p map=teste04_LULC@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@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