<div dir="ltr"><div><br><br>On Wed, Jul 5, 2017 at 11:11 AM, Annalisa Minelli <<a href="mailto:annagrass6@gmail.com">annagrass6@gmail.com</a>> wrote:<br>><br>> Hi list,<br>> 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?<br><br></div>If you did not provide column definitions with the columns option, yes.<br><div><br>> 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.<br></div><div><br></div><div>If you do not specify a column to be used as category values with the cat option, a unique category value is assigned to each row and written to a new column 'cat'.<br><br></div><div>The solution might be to specify a column to be used as category values with the cat option and supply column definitions with the columns option where the column to be used as category values must get the name 'cat'.<br></div><div><br></div><div>HTH,<br><br></div><div>Markus M<br><br></div><div>><br>> I am on Debian 9 and grass 7.2 stable.<br>><br>> Thanks in advance,<br>> Annalisa<br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br></div></div>