[GRASSLIST:8722] Still moving with tutorial...v.in.ogr issue

Hi guys! Still try to understand grass basics...
As i read on tutorial, when i inport an ESRI vector, the command reset the
category. I do some test and i realize that if in the original file i got a
cat column with some value (for example 100,101,102,103,104) in GRASS the
table vector layer has got 0,1,2,3,4.
In another test i try to import a vector with no cat column, and grass created
it...So all the vector layer in GRASS has got a cat coumn?

I am right?
Thx
Luca
--
gtalk: luca.casagrande@gmail.com
skype : thedoktor78
msn: doktoreas@hush.com

As i read on tutorial, when i inport an ESRI vector, the command reset
the category.

Yes. Use v.reclass to reset which column is taken to be the category
column.

I do some test and i realize that if in the original
file i got a cat column with some value (for example
100,101,102,103,104) in GRASS the table vector layer has got
0,1,2,3,4. In another test i try to import a vector with no cat
column, and grass created it...So all the vector layer in GRASS has
got a cat coumn?

yes. If it doesn't exist it will be added. v.in.ascii, v.in.db let you
specify which existing column to use as the category column if you don't
want a new one. With v.in.ogr you need to use `v.reclass column=` to
switch to a previously existing cat column.

Hamish