<html style="direction: ltr;">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body bidimailui-charset-is-forced="true" style="direction: ltr;"
    text="#000000" bgcolor="#FFFFFF">
    <p>It looks like you've run out of integer values for the "category"
      primary key.</p>
    <p>Do you really want a vector polygon map with > 2 billion
      features?</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 18/06/2019 15:14, Ken Mankoff wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:87y31zf5ts.fsf@gmail.com">
      <pre class="moz-quote-pre" wrap="">Hello,

I think I'm experiencing a buffer overflow. This is a hard one to search for with GRASS GIS because the word "buffer" and "overflow" appear throughout as in r.buffer and overflowing weirs, etc. but I'm referring to the C-code error type of buffer oveflow:

r.to.vect -v input=basins output=basins type=area

DBMI-SQLite driver error:
Error in sqlite3_step():
UNIQUE constraint failed: basins.cat

ERROR: Unable to insert into table: insert into basins values (
       -2137121269, '(Category -2137121269)')


Does anyone have any suggestion how I can convert a raster with MANY categories to a vector?

Thanks,

  -k.
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
  </body>
</html>