[GRASS-user] v.in.ascii cat column name attribution from csv file

Annalisa Minelli annagrass6 at gmail.com
Wed Jul 5 02:11:18 PDT 2017

Hi list,
I have a tricky question. I noticed that when importing a csv file with
v.in.ascii specifying cat column, the name of that column in the vector map
is no more "cat" but "int_1". My cvs file is without any header. Is it
normal? because then, when I try to patch the vector file with some others
vector files with "cat" as category column name, v.patch (obviously) says:
"key column names differ"... on the other hand, if I do not specify the cat
parameter in the import operation it creates the regular "cat" field with
progressive values - but in this way, I am obliged to delete the "int_1"
column before patching.

I am on Debian 9 and grass 7.2 stable.

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170705/a36889c5/attachment.html>

More information about the grass-user mailing list