<div dir="ltr"><div>Hello Tobias, <br></div><div><br></div><div>The cat colum is the ID that GRASS uses for vectors, hence this is expected and right. The same happens if you import a gpgk or shape or any other vector file into GRASS. See <a href="https://grass.osgeo.org/grass78/manuals/vectorintro.html">https://grass.osgeo.org/grass78/manuals/vectorintro.html</a> for further info</div><div><br></div><div>HTH, <br></div><div>Vero<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 20 oct 2021 a las 9:34, Tobias Pilz (<<a href="mailto:topilz@pik-potsdam.de">topilz@pik-potsdam.de</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear list,<br>
<br>
when I use in R the writeVECT() command the resulting map in GRASS got <br>
the 'cat' column silently added to its attribute table if it didn't exist.<br>
<br>
The vector object in question was previously imported to R via <br>
readVECT() and had a different column defined as key column.<br>
<br>
Is this behaviour of writeVECT() intentional? If yes, why so and <br>
wouldn't it make sense to give a warning?<br>
<br>
Note: I used rgrass7 version 0.2-6 together with GRASS 7.8.5 under Linux <br>
(opensuse).<br>
<br>
Regards,<br>
<br>
Tobias<br>
<br>
<br>
_______________________________________________<br>
grass-stats mailing list<br>
<a href="mailto:grass-stats@lists.osgeo.org" target="_blank">grass-stats@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-stats" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-stats</a><br>
</blockquote></div>