<div dir="ltr"><div>Hi,</div><div><br></div><div>my guess is that the values in column 5 are not unique, which is a problem, because you specified it as cat column, which should be the primary key. So try cat=0 if that helps, that will autogenerate the cat column with unique categories.</div><div><br></div><div>Anna</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 8, 2022 at 2:25 AM Helmut Kudrnovsky <<a href="mailto:hellik@web.de">hellik@web.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>v.in.ascii --overwrite<br>
>input=/home/etorresm/Desktop/Vajont_Export_res_integer.csv<br>
>output=voxel_res_int separator=comma skip=1 x=2 y=3 z=4 cat=5<br>
[...]<br>
>UNIQUE constraint failed: voxel_res_int.int_5<br>
>DBMI-SQLite driver error:<br>
>Error in sqlite3_step():<br>
>UNIQUE constraint failed: voxel_res_int.int_5<br>
>ERROR: Unable to insert new record: insert into voxel_res_int values ( 2,<br>
>1015614, 1048407, 2665, 4)<br>
>WARNING: Table <voxel_res_int> linked to vector map <voxel_res_int> does<br>
>not exist<br>
<br>
can you share the 10 first lines of the input ascii file?<br>
<br>
kind regards<br>
Helmut<br>
<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div></div>